会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
非非啊
博客园
首页
新随笔
联系
管理
订阅
2019年5月29日
购物车续
摘要: product={} product["001"]={"Name":"美式面包","Unit":"个","Price":10.00,"Class":"西点类","integral":20.00} product["002"]={"Name":"法式面包","Unit":"个","Price":15.
阅读全文
posted @ 2019-05-29 11:51 非非啊
阅读(176)
评论(0)
推荐(0)
2019年5月21日
简单电商购物车编程
摘要: def goods_list(): shangpin={"上衣":"600","卡西欧手表":"1500","裤子":"800","AJ":"3000"} print "-"*12 +u"商品列表" +"-"*12 for key in shangpin: print "goods: %s -->
阅读全文
posted @ 2019-05-21 23:37 非非啊
阅读(338)
评论(0)
推荐(0)
2019年5月15日
在26个大小写字母(52个),以及9个数字组成的字符列表中, 随机生成10个8位密码.
摘要: 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): SecC
阅读全文
posted @ 2019-05-15 11:26 非非啊
阅读(241)
评论(0)
推荐(0)
公告