Getting Array Input From User In Python For All Selected Lines