-3

So I faced new issue, maybe somebody could help? If I change nation to M, it doesn't work anymore. It should print "Thanks" if the nation is m or M.

nation = "m"
type = 1
if nation == ("m" or "M") and type == 1:
    print("Thanks")
Tagc
  • 8,251
  • 7
  • 54
  • 106
c0ffi
  • 1
  • 5

1 Answers1

0
nation = "m"
type = 1
if (nation == "m" or nation == "M") and type == 1:
    print("Thanks")
aseipel
  • 678
  • 6
  • 12