write a python program to enter any number and check it is divisible by 7 or not.
Answers
Answered by
22
i
%
Answered by
9
Program:
n = float(input("Enter a Number: "))
if n % 7 == 0:
print(n, "is divisible by 7.")
else:
print(n, "is not divisible by 7.")
Similar questions