Create a program that identifies if the entered number is divisible by 7.Use tbe mod operator
x = int(input("Enter a number:")) if(x%7==0): print(x,"is divisible by 7") else: print(x,"is NOT divisible by 7.")
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment