Python:键值对
'''#1.键值对,在python中是字典,在C语言中是结构体name = {'green':5}print(name['green'])#2.访问键值对name = {'color':'green','point':5}#对是字符串要加引号,是数字不用space = name['point']#大括号针对整体,里面键值对用中括号print("woaini"+str(space)+" ...