dillonseanbarr dillonseanbarr
  • 23-10-2020
  • Computers and Technology
contestada

Does anyone know the answer to 4.3 Code Practice: Question 2 for writing a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21 in edhesive?

Respuesta :

Cytokine
Cytokine Cytokine
  • 23-10-2020

In python:

i = 3

while i <= 21:

   if i % 3 == 0:

       print(i)

   i += 1

I hope this helps!

Answer Link

Otras preguntas

which of the following is a function of a vacuole? A packaging of materials B transport of materials C storage of materials D breakdown of materials
You have been working until close at your job every weekend for the past six months. You would like to request a weekend off to spend time with your family and
Eleven minus the quotient of a number and 8 is 15
Which statement best defines a cell. A) a crystal like structure that exists in all living things B) an independent functional unit of life C) The smallest
what is a man made fabric invented in the past 25 years
What is 485 times 34
The nurse observes a client in a group who is reminiscing about his past. which effect should the nurse expect reminiscing to have on the client's functioning i
write the quadratic equation whose roots are -1 and 3 and whose leading coefficient is 1
What should you do if a person is unconscious and not breathing? Have him cough forcefully. Begin chest compressions. Perform the Heimlich Maneuver. none o
The ratio of the number of fiction books to the number of reference books in a library is 9:5. What is the fraction of the books are reference books?