-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,736
  • 7
  • 61
  • 114
c0ffi
  • 1
  • 5

1 Answers1

0
nation = "m"
type = 1
if (nation == "m" or nation == "M") and type == 1:
    print("Thanks")
aseipel
  • 728
  • 7
  • 15