Sep-08-2019, 01:01 PM
print("Welcome to project Apollo!")
time.sleep(0.5)
RegQ = True
while RegQ:
RegLR = input("Do you want to login or register: ")
if RegLR.lower() == "register":
print("Please use the register app provided!")
time.sleep(3)
continue
elif RegLR.lower() == "login":
print("Welcome to Login manager!")
time.sleep(1)
break
else:
print("Unknown input!")
time.sleep(2)
continue
LoginBegin = True
while LoginBegin:
ForgotPass = input("Have you forgotten your password?: ")
if ForgotPass.lower() == "no" or "n":
print("Please login:")
Username = input("Enter Username: ")
Password = input("Enter Password: ")
elif ForgotPass.lower() == "yes" or "y":
__forgotpass__()
else:
print("Unknown input!")
continueThe input Forgotpass Always the if ForgotPass.lower() == "no" or "n": no matter what I type. Should I remove the equals sign or do I have to use an if staement for every single output.
