Quanboy57 Quanboy57
  • 09-12-2020
  • Computers and Technology
contestada

Write a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21. Your program should print each number on a separate line.

Respuesta :

allways0408 allways0408
  • 09-12-2020

i = 3

while i <= 21:

  if i % 3 == 0:

      print(i)

  i += 1

Answer Link

Otras preguntas

125 pounds decreased by 4% is
660 ft/min=_________ft/s 1 min = 60 sec
A square has a perimeter of 64 inches What is the length of one side if the square? What is the area of the square??
how many occupied orbitals does a fluorine atom contain in the ground state?
70 pennies decreased by 20% is
I need help with piecewise functions. How to find the domain and range and how to write it notation.
660 ft/min=_________ft/s 1 min = 60 sec
What is the median cost of 26$, 35$, and 50$
A high-speed computer printer prints a page in 1/6 second. Using this printer, how long would it take to print 30 pages?
70 pennies decreased by 20% is