摘要: for i in range(1,10): for j in range(1,i+1): print('{}x{}={}'.format(j,i,j*i),end=' ') print() 阅读全文
posted @ 2022-05-30 18:14 Mis168 阅读(12) 评论(0) 推荐(0)
摘要: _username = 'Zero' _password = '123' counter = 0 while counter < 3: username = input("用户:") password = input("密码:") if username == _username and passw 阅读全文
posted @ 2022-05-30 17:22 Mis168 阅读(35) 评论(0) 推荐(0)
摘要: import getpass #定义一个登录接口 usernaem = 'root' password = '123456' conut = 0 #循环三次 while conut < 3: user_input = input("用户:") # pass_input = input("密码:") 阅读全文
posted @ 2022-05-28 11:13 Mis168 阅读(83) 评论(0) 推荐(0)