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

Olfactory receptor cells are replaced after _____ day(s).
________________ is a system used for reducing bias and error in the measurement of data.
Cellular respiration takes place in the mitochondria of cells. True False
A rectangle has an area of 90 square inches. If the width measures 4 inches and the length measures (x + 2.5) inches, what is the value of x? Question 4 options
A nurse is working with a group of patients. one patient states, "my goal is to reduce my weight from 280 pounds to 230 pounds in 6 months." what response by th
How has bill Cosby or Oprah Winfrey contributed to shaping a better world
what is the length of the hypotenuse of a right triangle with sides that measure 5 in. and 12 in
The atomic mass of gold is 197 g/mole, and the density of gold is 19.3 g/cm3. using this information along with the measured value of young's modulus, calculate
in life on the mississippi which best describes the difference between the language of the narration and the language of the dialogue
Find the area of the triangle. Round the answer to the nearest tenth. A. 68.4 square units B. 75.3 square units C. 84.5 square units D. 136.7 square units