Re: Multi dimensional lists python

Usually, I don’t.  Multi dimensional lists become very annoying to access really fast.  If I do want to have a multi dimensional object, I would just use a dictionary.  So in Cae’s example, if I want to store teams, I would do team name as the key, and members as a list  relating to that key.
I have used a multi dimensional list before, and they caused endless amounts of headaches in the form of syntax errors with so many brackets and all.
I can’t speak on this because I do not totally understand it, but I believe if you do use multi dimensional lists they take up less memory. that has never been of a concern for me, but that’s because I have been building small projects here and there.

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : hurstseth405 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : visualstudio via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : amerikranian via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Kyleman123 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Kyleman123 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Dragonlee via Audiogames-reflector

Reply via email to