Quick actions

cmd+k|ctrl+k

Navigation

Languages

3/4/2024

Snippet info

Language

Python

Visibility

public

Author

wongchunhei20040624

Created

2024-04-03T04:42:59.275494Z

Updated

2024-04-16T01:43:06.965954Z

name = "john"
#last_name = "chan"
a = "name"
person = {"name" : ["john","peter"], "last_name" : "chan"}
print(person[a][1][0])
print(person["last_name"][0][0])
INFO