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

Assuming a speed limit is 105 km/hr, what is this in miles per hour
Mountains that form when large areas of Earth gradually move skyward as a unit are called _______ mountains. A. impoverished B. low-lying C. improvisation
On what two methods did the Wilson administration depend to finance the war effort? How did the war cost compare with the typical peacetime budgets of that era?
Subtracting 8.263 from 13.48, you obtain A. 5.783. B. 21.743. C. 5.217. D. 6.815.
The Virginia and Kentucky Resolutions argued that the right to determine the constitutionality of a law passed by Congress rested in?: A Congress. B the states.
The main difference between bacterial chromosomes and eukaryotic ones is that eukaryotes have linear chromosomes. How does the shape of the chromosome affect th
When and where did President Roosevelt die?
I need help fast please!!!
How did the effort to fund both the Great Society and a great military establishment affect the federal budget?
Find the measure of the indicated angle to the nearest degree.