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

Match the graph title (see picture below for titles) with the descriptor that matches it best.
0.40 L of HNO3 is titrated to equivalence using 0.20 L of 0.2 MNaOH . What is the concentration of the HNO3
PLEASE HELP QUICK!!! Lines a and b are parallel. What is the measure of angle m? Enter your answer in the box M= __ º
France decided to protect its borders by building a line of fortified concrete and steel bunkers. What was this line of fortification called? A The Armistice Li
The Social Security Administration announced the following rates to explain what percent of your Social Security benefits you will receive based on how old you
Humans blink their eyes about once every 5 seconds. How many times do humans blink their eyes in two hours
Someone please help me fast I would appreciate that :)
Please help me I need N Please help please I'm begging
how many fish species are found in rift valley of Ethiopia​
write an equation in slope intercept form that passes through the given points -4,9-2,4​