摘要: Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> sum=0 gouwuche="" shuliang=0 shuiguo=... 阅读全文
posted @ 2019-05-29 10:33 童崽仔 阅读(171) 评论(0) 推荐(0)
摘要: product_list = [ ('iphone', 5000), ('mac Pro', 12000), ('bike', 800), ('book', 120), ('watch', 10600), ('coffee', 20) ] shopping_list = [] salary = input("input you salary:") ... 阅读全文
posted @ 2019-05-21 23:27 童崽仔 阅读(125) 评论(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 in range(26): SecChar.extend(chr(random.randint... 阅读全文
posted @ 2019-05-15 01:53 童崽仔 阅读(2501) 评论(0) 推荐(0)