PY写一个字典变量和该变量输出
定义字典变量
person = { "name": "张三", "age": 25, "gender": "男", "hobbies": ["篮球", "游泳", "音乐"] }
输出字典变量
print(person)
原文地址: http://www.cveoy.top/t/topic/fUd 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
person = { "name": "张三", "age": 25, "gender": "男", "hobbies": ["篮球", "游泳", "音乐"] }
print(person)
原文地址: http://www.cveoy.top/t/topic/fUd 著作权归作者所有。请勿转载和采集!