InterviewSolution
Saved Bookmarks
| 1. |
Print multiples of 7 in descending order in python |
|
Answer» ogram:n = int(input("Enter the number of multiples you want of 7: ")) print("The multiples of 7 are: ") for X in range(10, 0, -1): print(x*7) OUTPUT of the program:Enter the number of multiples you want of 7: 10 The multiples of 7 are: 70 63 56 49 42 35 28 21 14 7 |
|