2.py (95B)
1 num = int(input("num: ")) 2 3 if (num % 2) == 0: 4 print("its even") 5 else: 6 print("is odd") 7