-3
So stellte ich neues Problem, vielleicht könnte jemand helfen? Wenn ich Nation zu M ändere, funktioniert es nicht mehr. Es sollte "Danke" drucken, wenn die Nation m oder M. istPython etwas falsch mit "oder"
nation = "m"
type = 1
if nation == ("m" or "M") and type == 1:
print("Thanks")
'wenn nation.lower() == 'm' und Typ == 1:' –