摘要: product={} product["001"]={"Name":"美式面包","Unit":"个","Price":10.00,"Class":"西点类","integral":20.00} product["002"]={"Name":"法式面包","Unit":"个","Price":15. 阅读全文
posted @ 2019-05-29 12:00 方永佳 阅读(132) 评论(0) 推荐(0)
摘要: a1=""; sum=0; shuru={ (‘短袖’,301), (‘长裤’,401), (‘球鞋’,1001), (‘帽子’,801), } a1=printf("输入shuru查看商品列表"); if a1 == "shuru" while true: printf("shuru"); choice = input(... 阅读全文
posted @ 2019-05-22 11:34 方永佳 阅读(114) 评论(0) 推荐(0)
摘要: print(ord('A')) print(ord('a')) print(ord('0')) import random SecChar=[] for i in range(26): SecChar.append(chr(i+ord('A'))); for i in range(26): SecChar.append(chr(i+ord('a'))); for i in ra... 阅读全文
posted @ 2019-05-15 11:21 方永佳 阅读(149) 评论(0) 推荐(0)