Quick actions

cmd+k|ctrl+k

Navigation

Languages

Python 3 字典类型:7

Snippet info

Language

Python

Visibility

public

Author

fenghestudio

Created

2019-11-24T09:41:24Z

Updated

2019-11-24T09:41:24Z

dict = {'Name': 'Zara', 'Age': 7, 'Class': 'First'};

for key in dict:
    print(key + ' : ' + str(dict[key]))
INFO