anayaelaine anayaelaine
  • 09-06-2020
  • Computers and Technology
contestada

Write a Python program that accepts a numeric value from the user and prints the number starting from 0 up to the user’s value.

Respuesta :

hello1222 hello1222
  • 10-06-2020

Answer:

num = int(input("Enter a number:"))

#Use becuase the for loop will start at 0

num = num + 1  

for i in range(num):

 print(i)

Answer Link

Otras preguntas

Given the diagram, a student wrote: Since the arrows represent parallel lines, there are two sets of angles that are congruent: < W is congruent to < F,
write a letter to your friend telling him or her about yhe cause as well as effects of social evils.​
Find the missing side of the triangle. Round your answers to the nearest tenth if necessary. 6.5 cm 17.4 cm 14.6 cm 9.4 cm
Convert the active voice sentences into passive voice and passive voice sentences into active voice.
What is the answer to this question will mark brainlist
hey, guys, I have a big test today and I did not study for it at all, any help would be much appreciated
Find the slope thanks
Judging by appearance, classify the figure in as many ways as possible.
Calculate angle d in degrees. 2 points 125 cm 105 cm 35.06 40.03 42.25 44.89
Los sándwiches de este restaurante siempre ____________________ deliciosos.
good job