摘要: 第二章课后作业: import getpassusername = input("username:")password = getpass.getpass("password:")print (username,password)name = "alex" 引号,代表字符串;print(type( 阅读全文
posted @ 2017-07-24 17:15 sanithzou 阅读(97) 评论(0) 推荐(0) 编辑
摘要: #import getpass 1、猜年龄,可以让用户最多猜三次; #每隔三次,问他一下,还想不想继续玩;y,n 待完善! 阅读全文
posted @ 2017-07-24 08:47 sanithzou 阅读(138) 评论(0) 推荐(0) 编辑