Python:
total = 3
def function():
global total
if total == 1 or 2:
print(total)
print("I'm a function that lets you know that your number is 1 or 2!")
else:
print("This is to let you know your number ISNT 1 or 2!")
def function_quotes():
global total
if total == "1" or "2":
print(total)
print("I'm a function that lets you know that your number is 1 or 2!")
else:
print("This is to let you know your number ISNT 1 or 2!")
function()
function_quotes()
obviously the expected result is for the code to skip the if lines entirely