You are viewing a single comment's thread from:

RE: SIMPLE TIC-TAC-TOE GAME - LEARNING TO CODE WITH PYTHON Ep 7

in #programming6 years ago (edited)

I think it depends on the application and the task you are running. for this simple game I don't need to order my data, because I am mostly retrieving and storing data in different and unpredictable positions, so dictionary is much more neat for me. and also in my opinion dictionary is faster in retrieving data because it does not need to scan through in an ordered fashion. but lists also have its advantages over dictionaries, It all boils down to the application.

Thanks for passing by :-)