Wats wrong?////


Assigning a dictionary with three key-value pairs to residents:

residents = {'Puffin' : 104, 'Sloth' : 105, 'Burmese Python' : 106}

print residents('Sloth'and 'Burmese Python')

Prints Puffin's room number

Your code here!

Replace this line with your code.


somebody plz rply???????????????


You're asking what's wrong without describing a problem :confused:

Also please put your code between ```'s so that it's kept intact. Linking to the exercise may also be helpful.

If you describe the issue and provide a way of reproducing the same thing as you describe, then others know what they're looking for and they'll be able to play around with it themselves.

And also please stick with one thread per question


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.