Computer Science, asked by ahanna123, 2 months ago

print multiples of 7 in descending order in python​

Answers

Answered by MiscreantAngel
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 anindyaadhikari13
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:

  1. START.
  2. Iterate a loop in the range i = 10 to 1.
  3. Multiply each value of 'i' with 7 and display it.
  4. STOP.

See the attachment for output ☑.

Attachments:
Similar questions