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

the first term of sequences is 29, and the fourth term what are the second and third term
help please!! Read the passage. Jenna experienced a series of unfortunate events. Yesterday, she and her best friend argued. Today, she was late to math class a
Which of the following was affected by Executive Order 8802? - the branches of the U.S. military with soldiers fighting abroad - a factory manufacturing ammunit
Hook was the first to describe microorganisms accurately. true false
which of the following metal atoms only form one type of positive change ? K Cu Fe Mg
The diagonal of a square is 14 m, what is the perimeter
Which equation best represents this situation? the number 84 increased by an unknown number is equal to 115.
What is a correct first step in solving the inequality –4(3 – 5x)≥ –6x + 9?
What happens to a reaction at equilibrium when a reactant is removed from the reaction system
What year did did the long march take place