Help/Python [Solved]
JerryTheMouse (4)

I'm trying to create code that checks a number's truthiness.
Because:
if 0:
print('run if true")
#no output
if 1 :
print ('run if true')
#output: run if true

... I want to create a program to check this and there is lot's of errors, please help!!!
https://repl.it/@JerryTheMouse/numberTruthynessChecker

You are viewing a single comment. View All
JerryTheMouse (4)

Thanks, @ash15khng but I’ve got my answer, bool probably does not work on numbers and I’ve already solved it (lol the title)

But thanks anyways