InterviewSolution
Saved Bookmarks
| 1. |
Write the cod to 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 |
|