Computer Science, asked by diviakkin, 1 month ago

write a python program to input a number and check if it is divisible by 2 or not .
plss answer to be marked as the braionliest

Answers

Answered by avishchoudhary8830
1

Answer:

user_input=int(input("enter your number"))

if (user_input%2==0):

(indent) print("given number is divisible by 2")

else: print ("given number is not divisible by 2")

Similar questions