Getting Input List From User In Python Iteration