Three username and password

# Three landing test 
COUNT = 1
the while COUNT <= 3:
Print ( '% s of times enter'% (COUNT))
name = the INPUT ( 'Please enter your user name:')
PSW = the INPUT ( 'Please enter your password:')
name == IF 'NAME1' and PSW == "PSW1":
Print ( 'successful landing')
BREAK
the else:
Print ( 'login failed')
IF COUNT == 3:
BREAK
COUNT + 1 =

Guess you like

Origin www.cnblogs.com/yeers/p/11511921.html
Recommended