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

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.

Sort:  

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

Coin Marketplace

STEEM 0.21
TRX 0.25
JST 0.038
BTC 96057.07
ETH 3334.98
USDT 1.00
SBD 3.06