fork download
  1. x=int(input('input a integer: '))
  2. if x % 2 == 0 :
  3. print(x,'is even')
Success #stdin #stdout 0.02s 9180KB
stdin
4
stdout
input a integer: 4 is even