write a program to accept a number and check if it divisible by 12.
PLEASE TELL IN PYTHON LANGUAGE.
Answers
Answered by
0
Answer:
n = int(input("Enter the number: "))
if n % 12 == 0:
print(str(n) + " is divisible by 12")
else:
print(str(n) +" is not divisible by 12")
Answered by
0
Answer:
a=input(int(enter the number))
if a%12=0:
print("it is divisible by 12")
else :
print("it is not divisible by 12")
Similar questions