0

Please correct me if i am wrong:

a = "Disabled"

if a == "Disabled" and "Disable":
    print('True')
else:
    print('False')

if a is "Disabled" or "Disable"
blhsing
  • 91,368
  • 6
  • 71
  • 106
Hoster
  • 3
  • 2

1 Answers1

0

What you wanted to write is

if a == "Disabled" or a == "Disable":

Other option is

if a in ("Disabled", "Disable):
brevno
  • 212
  • 2
  • 7