Hi,
For future reference it’s a bit easier to help when you paste the code and wording of the problem directly here.
- The instructions are asking you to assign a value to a new variable,
users
.
That would look something like this:
users = "my new variable!"
- dict_keys is an object type that is returned from invoking the
.keys()
method of a dictionary. There is no need to explicitly call its type.
Some example of dictionary play
bread = {}
bread["type"] = "pita"
bread["origin"] = "middle-east"
print(bread)
# {'type': 'pita', 'origin': 'middle-east'}
print(bread["type"])
# pita
print(bread.keys())
#dict_keys(['origin', 'type'])
print(type(bread.keys()))
#<class 'dict_keys'>
for i in bread.keys():
print(i)
#origin
#type