Output for:
def test(c):
if c == 4:
return None
return 'test'
returns 'test' given anything I put in such as test(500) but when I try test(4) the function simply skips and pretends I never ran it, but I want it to show None. So,
>> test(500)
'test'
>> test(4)
>>
is what happens. My goal is for a None to return without having to use print in the function:
>> test(4)
None
Help!