Mar-26-2019, 10:37 AM
Thanks ichabod801. I tried but somehow it is not working.
username=input("Enter Username: ") password=input("Enter Passwrod: ") with open('Usernames_Passwords.csv', newline='') as myFile: reader = csv.reader(myFile) for row in reader: if row==username[1] and row==password[2]: print("Valid Username and Password") else: print("Wrong Inputs")The outcome is always Wrong Inputs repeating itself for certain times.