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

A farmer will divide a 1/4 acre plot of land into three equal-sized sections what will be the size of each section?Five friends will share equally 1/2 yard if f
A test performed to determine if harmful genes are present in a fetus is called :A-diagnostic genetic testing B- amniocentesisC- carrier genetic testingD- preim
The Persian Gulf, the Strait of Hormuz, and the Suez Canal are strategically important because they are...
Which of the following is not a metal? A) Ca B) Se C) Zn D) Mn
Is log2+log18 equal to log30+log6
what river flows across the entire state of alaska?
Term that describes the bending of the rock layers due to the stress? Unscramble IFLGNOD
how can i solve x^3+7x=8x^2
7/10+6/100=how do solve this problem
Show how you get 1,910 ml equals how many liters