ptoohill0659 ptoohill0659
  • 06-11-2020
  • Computers and Technology
contestada

4.8 Code Practice: Question 1

Instructions
Write a for loop to print the numbers 5, 10, 15 … 75 on one line.

Expected Output
5 10 15 20 25 30 35 40 45 50 55 60 65 70 75

Respuesta :

akkoyt9
akkoyt9 akkoyt9
  • 12-11-2020

Answer:

c = 1 # global variable

    jhjl jh

def add(): c = 1 # global variable

def add():

   print(c)

add()

   c = c + 2 # increment c by 2

   print(c)

add()

Explanation:

Answer Link
ToastIsYes
ToastIsYes ToastIsYes
  • 22-01-2021

Answer:

for x in range(1, 16):

   print(x * 5, end=" ")

Explanation:

Hope this helps!

Answer Link

Otras preguntas

Protests in the late 1800s by what group led to some state laws that attempted but ultimately failed to reform railroad practices?
What is the simplest form of 2 / 9 + 5/9
A short descriptive literary sketch is called
In the great gatsby why is nick an outsider in relation to daisy and tom
all quadrilaterals are parallelograms
Which term best describes the class system in america today?
how many like does it take to get to the center of a tosipop
Why did truman believe greece needed american aid in 1947?
What does the following sentence start with? Weather permitting, the picnic will be held at the community park. A. A prepositional phrase B. An adjective C.
what four factors encouraged American growth and expansion in the late 19th and early 20th centuries?
good job