Write a program in python to check wether the last digit of number is divisible by 5 or not?
Answers
Answered by
0
Explanation:
In Python, the remainder operator (“%”) is used to check the divisibility of a number with 5. If the number%5 == 0, then it will be divisible.
Answered by
1
Python Program to Find Those Numbers which are Divisible by 7 and Multiple of 5 in a Given Range of Numbers
- Take in the upper and lower range and store it in separate variables.
- Use a for loop which ranges from the lower range to the upper range.
- Then find the numbers which are divisible by both 5 and 7.
Similar questions