7月29日-登入代码
user = 'stoneman'
passwd = '123456'
for i in range(10):
if i< 3:
name = input('username:')
password =input('password:')
if user == name and passwd ==password:
print('Welcome login')
else:
print('invalid username or password')
else:
print('over! you have tried to three times! ')
break

浙公网安备 33010602011771号