Python
x=6 if x%2==0: print(x,"是偶数") else: print(x,"是偶数")