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

Find X. Please help!!!!!!!!!!!!!!!!!!!!!!!!!!!
What would you assume at the beginning of an indirect proof for the following? A number that is divisible only by itself and 1 is a prime number. 51 is not a pr
which represents a linear function
PLZ HELP What is the slope of the line that passes through the points (5, -11) and (-9, 17)? 1/3 3 -1/3 -3
Tina drew an animal cell in her science notebook. What's wrong with the cell?
Identify three situations where convection occurs
Which sentence uses the verb correctly? A. Our group are the best of the lot. B. Our group is the best of the lot. C. Our group were the best of the lot. D.
I need help! Please help ASAP
What is the value of E in degrees
Which Social class would have a higher level of prosperity in the post-war ll period?