2021年6月8日
摘要: 1 a=[81864710854,4488690223,51710934767,7343633,7329,11111111111,22222222221] 2 for b in a: 3 b=list(str(b)) 4 ous=0 5 jis=0 6 for i in b: 7 if i in " 阅读全文
posted @ 2021-06-08 18:47 guonf 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 追风筝的人 白鹿原 林达看美国 阅读全文
posted @ 2021-06-08 15:23 guonf 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 1 product_list=[ 2 ("iphone",5000), 3 ("Mac Pro",9800), 4 ("Bike",800), 5 ("Watch",10600), 6 ("Coffee",31), 7 ("Alex Python",120), 8 ] 9 10 salary=inp 阅读全文
posted @ 2021-06-08 11:17 guonf 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1 msg="我爱你中国" 2 3 print(msg.encode()) 4 print(b'\xe6\x88\x91\xe7\x88\xb1\xe4\xbd\xa0\xe4\xb8\xad\xe5\x9b\xbd'.decode()) encode,decode相互转化。 list_1=[1,2 阅读全文
posted @ 2021-06-08 08:23 guonf 阅读(35) 评论(0) 推荐(0) 编辑