I don't like Python either but it's out there and a fact of life. You use whatever a client requires.
Dictionaries, sets and lists can be nice though.
Go here( https://www.thecodingforums.com/threads/performance-sets-vs-... ) and search-find "Terry Reedy".