Toggle navigation
English
Chinese
Python Sandbox
Please refer to
this tutorial
to find more details on the following codes.
# # For loop can also be written for dictionary. # age={} age['john']=12 age['paul']=77 for key in age: print(key) print(age[key]+7)
Run
List