I need to take the element from a list and use them as the input for the rest of my script.
Right now I have it set up with a raw_input and I have to enter numbers in sequence and the script runs. I would like the computer to do this. Is there a way?
This is in the terminal
& Enter number: 1
& Enter number: 2
I enter the number it runs the rest of my script then loops back for the next input. Is there a way to create a list of numbers say from 1 to 20 and then put each one in as an input for the script to run. Basically I want to automate it so I dont have enter the numbers.