Python programm to check whether a number is divisible by 5 and 11
Answers
Answered by
12
Answer:
# Python Program to Check Number is Divisible by 5 and 11
number = int(input(" Please Enter any Positive Integer : "))
if((number % 5 == 0) and (number % 11 == 0)):
print("Given Number {0} is Divisible by 5 and 11".format(number))
else:
print("Given Number {0} is Not Divisible by 5 and 11".format(number))
Explanation:
Similar questions