Conditional statement check

x=int(input(“enter the number:”)
if x%2==0:
print(‘even’)
elif x%2!=0:
print(‘odd’)
elif x==0:
print(“number is zero”)
else:
prin(“enter a valid number”)

2 Likes

@Pradhansuchismita97

Well done, keep it up.

1 Like