Quick actions

cmd+k|ctrl+k

Navigation

Languages

Dictionary (DICT)

Snippet info

Language

Python

Visibility

public

Author

chausage

Created

2024-11-26T08:27:32.752333Z

Updated

2024-11-26T08:50:30.327271Z

person={"name":"Ryan","age":25,"address":["KW",'Kowloon']}
x='address'
person['name']=person['name']+' ann'
print(person["name"],person["age"]+2,person[x][1]) # person['address']
#comment, jot down notes 
INFO