def account_login():
password = input('Password:')
if password == '12345':
print('Login success!')
else:
print('Wrong password or invalid input!')
account_login()
account_login()
for every_letter in 'Hello world':
print(every_letter)
count = 0标签:count,account,判断,Python,循环,print,login,password From: https://www.cnblogs.com/2023-1-6/p/17101596.html
while True:
print('Repeat this line !')
count = count + 1
if count == 5:
break