user1 = "aqa code" 
pass1 = "uzair123"
username = input("Enter username: ")
password = input("Enter password: ")
while username !=  user1:
    print("Access denied: username is incorrect try again ")
    username = input("Enter username again: ")
    if username == user1:
        print("access granted")
        while password != pass1:
            print("Password is still incorrect")
            password=input("Enter password again: ")
            if password == pass1:
                print("Access granted")
while password != pass1:
    print("Access denied,Password is incorrect")
    password=input("Enter password again: ")
    if password == pass1:
        print("Access granted")
How do I add a .lower() to the username/user1 so it becomes case insensitive when you type in the answer? Please help.
 
     
    