the function i have written....
def calculate_price(Thickness, Width, Price, Timbmet):
foo = Thickness * Width;
bar = foo * Price;
if Timbmet == "n" or "N":
foobar = ((bar / 100) * 15) + 100
print foobar
else:
print bar
calculate_price(5., 4., 3., "y");
the console output is 109 which is wrong because it shouldn't have executed the code in the if statement because the Timbmet parameter does not match "n" or "N". What am I doing wrong and why is the code not running the else part?