Java Create Arraylist And Hashmap In Python 3