Get Array Input Value Python Programming