Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
inputs and if statements
#2
Replace ForgotPass.lower() == "no" or "n": with ForgotPass.lower() in ("no", "n"):.
Because the former equals (ForgotPass.lower() == "no") or "n", and "n" is always True.
Reply


Messages In This Thread
inputs and if statements - by Vqlk - Sep-08-2019, 01:01 PM
RE: inputs and if statements - by luoheng - Sep-08-2019, 01:11 PM
RE: inputs and if statements - by Vqlk - Sep-08-2019, 01:26 PM
RE: inputs and if statements - by luoheng - Sep-08-2019, 01:35 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020