Program to find if the entered username and password is correct
===================== USERNAME AND PASSWORD ======================
u="Google"
p="12345"
username=raw_input("Enter the username :")
password=raw_input("Enter the password :")
if(u==username and p==password):
print "userword and passsword is correct"
else:
print "userword and password do not match"
====================== OUTPUT ================================
Enter the username :Google
Enter the password :12345
userword and passsword is correct
====================== OUTPUT ================================
Enter the username :Google
Enter the password :00000
userword and password do not match
==============================================================
No comments