Share your repls and programming experiences

← Back to all posts
checking number for even or odd
SolMegerssa (0)

🚨 Don't change the code below 👇

number = int(input("Which number do you want to check? "))

🚨 Don't change the code above 👆

#Write your code below this line 👇

if number%2 ==0:
print("This is an even number")
print("This is an odd number")