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

Which of the following is an example of traditional management?
What is the value of x? x=____
Graph the linear equation 5x - 6y =60
The cost of a telephone call is $.75 Plus $.25 the number of minutes right in algebraic expression that models the cost of a telephone call that at t minutes
· Value of $1 U.S. in pesos is 10.34 · Value of 1 Peso in U.S. Dollars is $0.09 Shelby traveled to Mexico to a resort and took $100 in U.S. currency. When
HEEEEEEELP PLEAAAASE...
why did the capital of Oklahoma move from Gurthrie to Oklahoma Citya. citizens voted to move the capital.b.the governor mandated the capital be moved.c.guthrie
When should you get a line of credit set up for a business? (Select the best answer.) A.   When the company experiences its first unexpected expense or cash sho
How does surface water become ground water
HEEEEEEELP PLEAAAASE...