x=int(input('input a integer: '))if x % 2 == 0 : print(x,'is even')
4
input a integer: 4 is even
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!