378868
378868 378868
  • 10-11-2020
  • Computers and Technology
contestada

4.7 Code Practice: Question 1

47 Code Practice Question 1 class=

Respuesta :

Cytokine
Cytokine Cytokine
  • 10-11-2020

for x in range(20, 31):

   print(x, end=" ")

I hope this helps!

Answer Link
fichoh
fichoh fichoh
  • 09-11-2021

The program prints all the integers from 20 up to and including 30 on the same line. The program written in python 3 goes thus :

for num in range(20,31):

#use a for statement to loop through all the integers between 20 and 30(inclusive)

print(num, end =' ')

#print each iterated value, followed by a space with the cursor remaining on the same line.

A sample run of the program is attached.

Learn more :https://brainly.com/question/18855444

Ver imagen fichoh
Answer Link

Otras preguntas

Your lifelong health can be affected by good nutrition because good nutrition can A. increase your risk of stroke. B. cause cardiovascular disease. C. le
Census data reveal that the ________ household is the fastest-growing household arrangement
Consider triangle ABC in the diagram below: a. Is this triangle acute, right, or obtuse? b. Find the measure of angle B. c. Find the area of the triangle.
Is it illegal to not have muffler or resonator?
Use a half-angle idenitity to find the exact value of tan 5pi/12
Hey did I do this the right way
What kind of word is the pronoun in bold letters? At 3:00p.m the tennis court will be (there)
I need a lot of help please someone!
How to hang a puzzle on the wall without a frame?
Please help me, I will mark your correct answer as smartest ps. Gain 30 points!!)
good job