摘要: product={} product["001"]={"Name":"美式面包","Unit":"个","Price":10.00,"Class":"西点类","integral":20.00} product["002"]={"Name":"法式面包","Unit":"个","Price":15. 阅读全文
posted @ 2019-05-29 02:48 痞哥 阅读(186) 评论(0) 推荐(0) 编辑
摘要: shuiguo={"橘子":10,"香蕉":15,"葡萄":20,"草莓":25} shiwu={"大米":11,"鸡肉":22,"牛肉":33,"羊肉":44} print("水果:",shuiguo) print("食物:",shiwu) je=0 sp=input("请输入“水果”或“食物”: 阅读全文
posted @ 2019-05-22 11:36 痞哥 阅读(144) 评论(0) 推荐(0) 编辑
摘要: '''print(ord('A')) print(ord('a')) print(ord('0'))''' import random SecChar = [] for i in range(26): SecChar.extend(chr(random.randint(65,90))) for i 阅读全文
posted @ 2019-05-15 10:41 痞哥 阅读(97) 评论(0) 推荐(0) 编辑