摘要: # 字符串格式化 msg = "名字:%s,年龄:%s " % ("wahaha", 20) print(msg) msg = "名字:%(n1)s, 年龄:%(n2)s" % {"n1": "wahahhhh", "n2": 20} print(msg) msg = "名字:{0}, 年龄:{1}".format("wwawaha", 20) print(msg) msg = "名字:... 阅读全文
posted @ 2019-06-30 12:29 Lutos 阅读(72) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-06-27 12:06 Lutos 阅读(1) 评论(0) 推荐(0)
摘要: # coding = utf-8import hashlibimport getpassLIST_01 = []def registers(): print("请按提示创建用户信息") while True: print("(提示:输入用户名为 N/n时,退出输入)") name = input(" 阅读全文
posted @ 2019-06-19 13:36 Lutos 阅读(237) 评论(0) 推荐(0)
摘要: it is a definetely new experience for me to enjoy cnblogs ! so exciting ! 阅读全文
posted @ 2019-06-11 11:06 Lutos 阅读(133) 评论(0) 推荐(0)