Get all keys make confusion due to the question

https://www.codecademy.com/courses/learn-python-3/lessons/using-dictionaries/exercises/get-all-keys

hi , this is the exercise link.
HERE IS my screenshot that i have tried:

https://prnt.sc/tvs0ps

This exercise is using for loops to find out only the keys, but why I can’t assign it?

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
4 Likes