How does this line look like a regular 'for' loop?
inputList = [int(a) for a in inputList]
What are the advantages of writing a 'for' loop this way as opposed to being more vanilla?
new_list = [] for a in inputList: new_list.append(int(a)) inputList = new_list
Perhaps something like this.
I did something like this and it worked:
enteredList = [] for a in inputList: enteredList.append(int(a))