-2

Despite what it only run the if condition for all other conditions

inpi = input("Proceed To Download [Yes/No]: ")

if inpi = "yes" or "y" or "Yes":
    print("Downloading")
elif inpi == "No" or "no" or "n":
    print("something")
else:
    print(" here")
gustavolq
  • 414
  • 2
  • 10
  • 1
    Could please elaborate on your actual question? It is impossible to read what you are asking for. – Zeitproblem May 13 '22 at 16:37
  • It's not `inpi = "yes" or "y" or "Yes"` but `inpi == "yes" OR inpi == "Yes" or .... ` Please see the dupe – 0stone0 May 13 '22 at 16:37
  • used this way and yet , when the input is no it runs the if statement condition rather than the elif statement , the if statement condition is associated with "yes" if its true – moon seven May 13 '22 at 16:55

0 Answers0