Arraylist Get Input In Python