Taking List Input From User In Python For Loop