Can someone help me fix this indentation?
AHulot (43)

I am sure I typed the code correctly but it keeps saying that it is wrong. Does anyone know how I can fix it?

def login():
global wks
while 1:
user = input("Please enter your Username: ")
passW = input("Please enter your Password: ")
t1 = wks.find(user)
cprint("Invalid username. Please try again or create a new account.",)
if wks.cell(t1.row, t1.col+1).value == passW:
print("Login successful. Welcome back.")
print("Login successful. Welcome back.")
print("Incorrect password")

You are viewing a single comment. View All
AHulot (43)

@AHulot :
Hold on, I think I fixed it : )