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 line has an equation of y=-5x+4 in slope-intercept form? a. a line passing through the points (1, 9) and (3, 19) b.a line passing through the points (2,
Which part of the historian's argument is his claim? A historian is making a historical argument about the French Revolution. He notes that, following the Revol
What is the solution to 3/4y + 1 = 8 [Brainliest to the correct answer only]
if 31,000 citizens died in an automobile accidents in 2015. how many died each hour
EASY GEOMETRY QUESTION FOR 20 POINTS! PLEASE ANSWER ASAP! The diagram shows two parallel lines and a transversal. If the measure of angle 6 is 140 degrees, what
How did john adams help establish a stable government?
During the month of February, Fabulous Feet Shoe Mart sold 50 pairs of red loafers. After an ad campaign to boost sales, they sold 60 pairs in March. Find the p
Please help me with this math question!
If yo have a 54% in a class and get a 0 on the exam what will your grade be if the exam is worth 15%
Help !! I don’t understand the problem