字典结构--字典名={字:解释,…}查字典--print(字典名[字])>>> names={'Tom':'Tom is very tall','William':'William is very handsome'} >>> names {'Tom': 'Tom is very tall', 'William': 'William is very handsome'} >>> print(names['Tom']) Tom is very tall也可用.get()查>>> names {'Tom': 'Tom is very tall', 'William': 'William is very handsome'} >>> print(n
一只胖橘