vince2413 vince2413
  • 26-09-2017
  • 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 :

rsmith6559
rsmith6559 rsmith6559
  • 26-09-2017
# Python V2.x
# For v3, use input() instead of raw_input() and make print a function

number = int( raw_input( "Enter an integer: " ) )
for i in range( number ):
    print i

Answer Link

Otras preguntas

1/5+20.3 - (-5 3/5)= 11/12 - (-10) -5/6=
What does lady macbeth's gentlewoman tell the doctor that she sees every night?
Write the number name for 485,002,000
What newly negotiated treaty, signed by Opothleyaholo in 1826 (after McIntosh's death), ceded Creek lands for new lands in Indian Territory? : a.Treaty of P
_____ factors include relevant government or industry standards, the organization’s infrastructure, and marketplace conditions.
Which process copies DNA quickly without using bacteria?
A Mateo y Marta ______ duelen los ojos. nos te le les
A gym holds one 60-minute exercise class on Saturdays and several 45-minute classes during the week. Last week all of the classes lasted a total of 285 minutes.
an isosceles triangle has two 50 degrees angle . What is the measure of the third angle ? Explain how you found your answer
elvin read 3/7 of the pages of the book he has 56 pages left to read how many pages has he already read