You are viewing a single comment's thread from:
RE: SIMPLE TIC-TAC-TOE GAME - LEARNING TO CODE WITH PYTHON Ep 7
Interesting. So, is "dictionary" python's actual term or just your own? I mean, in php or java, those would be arrays. Never really did get into learning python yet, though I have seen some of its syntax before when it's used for graphing. From your codes, I find that python's else if (elif) sounds cute. Haha.
In my limited understanding of Python, I think it is more like objects in JavaScript (probably PHP and Java too, but I'm not completely familiar with them). They contain multiple pieces of information stored in key:value pairs.
Dictionary is a python term... python also have lists... which is more similar to arrays. but dictionary is a more versatile way of storing data in an unordered format. thanks for visiting my blog @kdee916