this is a simple program for Fibonacci series . its running perfectly for fixed range. but i would like to know is it possible to get range as input? if so please let me know the syntax to get range as input.
x=float (raw_input("enter the starting number:"))
for i in range(10):
Do it like you asked for the starting number:
number_of_outputs = int( raw_input('Enter the number of outputs: ')) #Your code goes here for i in range(number_of_ouputs): #More code goes here