print multiples of 7 in descending order in python
Answers
Answered by
1
Answer:
Numbers Divisible by 7. To determine if a number is divisible by 7, take the last digit off the number, double it and subtract the doubled number from the remaining number. If the result is evenly divisible by 7 (e.g. 14, 7, 0, -7, etc.), then the number is divisible by seven.
Explanation:
hope it helps
Answered by
1
Required Answer:-
Question:
- Write a program to print multiples of 7 in descending order in Python.
Solution:
Here comes the program.
print("Multiples of 7 in descending order are..")
for i in range(10,0,-1):
print(7*i,end=" ")
Algorithm:
- START.
- Iterate a loop in the range i = 10 to 1.
- Multiply each value of 'i' with 7 and display it.
- STOP.
See the attachment for output ☑.
Attachments:
Similar questions