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
0
solved range as input in python
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
0
solved range as input in python