fork download
  1. def check(num):
  2. if num % 2 == 0:
  3. print("even")
  4. else:
  5. print("odd")
  6.  
  7. print(check(3))
  8. print(check(2))
Success #stdin #stdout 0.03s 63100KB
stdin
Standard input is empty
stdout
odd
None
even
None