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