Category Archives: Python Basics
We will take a look at how to use boolean expressions and logic operators to perform certain tasks.
In Python and in most programming languages such as Java lists are mutable, which means lists are able to change. To create a list in Python is very straightforward and we can do this by doing the following: # List created having int’s, strings and float’s my_list = [1,2,3,”Daniel”, “Maia”, 2.3] You will notice you can […]
Variables The first part of Python we are going to talk about is variables. What are they and what are they used for, in simple terms a variable is a box where you can store any information you like and then return to that box to retrieve the item. In this example the name of […]