Python 101 - Tuples (1)
For simple understanding, “tuple” is a set of data. So, it is a set, like list or dictionary, but what makes tuples tuples? Before we go into tuples, let’s grab a tuple first. Create a Tuple To
For simple understanding, “tuple” is a set of data. So, it is a set, like list or dictionary, but what makes tuples tuples? Before we go into tuples, let’s grab a tuple first. Create a Tuple To
We’ve known lists. This time, we’re gonna say hi to another kind of lists: dictionaries. Yes, dictionaries are lists, but they do not manage their values by integer indices running from 0 to n. Their indices
We’ve been using a value to assign to a variable. What if we have more values than variables? Say, a variable ‘breakfast’ could be ‘eggs’ but also be ‘ham’? Well, it’s time lists come into play.
In this post, you’re gonna learn some basic features of Python, or actually every program languages. Values and Types There is no mystery in the word ‘values’, it is what it means in English. Value is the
I choose Python because of one reason: It’s simple. At first, I tried to learn C++ because it seemed that everyone around me knows C++. But I soon realized that a language that has many rules, such