Check Odd and Even in PythonAjay Malik10yPublished May 30, 2016, 2:22 PM946CodeThis code snippet for Check Odd and Even in Python.Code n=int(input("enter a number")); if n%2==0: { print("even") } else: { print("odd") } Output Enter a number is 5. Enter a number is 2.