HomePython Page 4 - Python Conditionals, Lists, Dictionaries, and Operators
Tuples - Python
In our last article we learned how to get input from the user, store data in a variable, and work with some basic operators to manipulate that data. In this article we will learn to use Conditional Statements and possibly create functions. So wipe that mustard off your chin, clean the dishes, and let's get to work.
Another way to store more than one piece of data is through tuples. Tuples work exactly like lists, except the data within them cannot be changed. And you assign value with parentheses instead of brackets. Observe!