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

Helllppp pleaseeee A rancher has a three sided plot of land that will be used for grazing sheep each side length is a multiple of the 100 one side is 300 yards
what is viscosity please answer ​
Why was Memphis called the cotton capital of the south? (two correct answers)
Help me please I’m struggling
The cost of hiring a taxi consists of a fixed cost of $3 plus $0.5 per kilometer distance travelled. Write an expression in terms of y for hiring a taxi for y
4. Find the area of the triangle whose breadth is 48 cm and height is 5cm​
A gas has a volume of 1.50mL at 1.89atm. What is the volume when the pressure is 2.75atm? What is the name of the gas law used to solve this problem?
Select the correct answer. Nuclear imaging studies require patients to swallow, inhale, or be injected with a radioactive isotope that targets a particular org
Ryan wants to emphasize the point through the use of parallel structure. What is the most effective revision to make sentence 11 parallel to sentence 10
Enlargement of the thyroid gland is called _______. Question 20 options: diabetes mellitus Cushing's syndrome diabetes insipidus goiter