0
Hi can anyone helpe out writing a code for login page tedt case in python
the test case is to check for valid login and give valid message and for invalid login invalid message
2 Respuestas
+ 3
valid_logins = ['login1', 'login2', 'login3']
login = input('Please enter your login: ')
if login in valid_logins:
print('Welcome', login)
else:
print ('Get out of here, you hacker-wannabe!')