Python Create Array And Initialize Arraylist