摘要: _username = "mask" _password = "a111" username = input("username:") password = input("password:") if _username == username and _password == password: #如果 _username 等于username 并且 _password 等于 passwo... 阅读全文
posted @ 2016-11-08 21:28 Mask-z 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1 import getpass 2 3 username = input("username:") 4 password = getpass.getpass("password:") 5 print(username,password) 阅读全文
posted @ 2016-11-08 20:38 Mask-z 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1 name = input("name:") 2 age = input("age:") 3 job = input("job:") 4 5 info = ''' 6 info of %s 7 Name:%s 8 Age:%s 9 Job:%s 10 ''' 11 %(name,age,job) 阅读全文
posted @ 2016-11-08 13:38 Mask-z 阅读(173) 评论(0) 推荐(0) 编辑