All posts by admin
First thing is first, we need to understand what a Binary Tree is. There are other various of trees such as Binary Search Tree and AVL Tree which is named after the inventor Adelson-Velskii and Landis but we will look into that at a later date. However, in this post, we are going to look at […]
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 […]
Python: Version 3.6.5 The Python download requires about 30 Mb of disk space; keep it on your machine, in case you need to re-install Python. When installed, Python requires about an additional 90 Mb of disk space. Installing on Windows 1.Click here to be redirected to the Python Download page. A page similar to the […]
We will take a look at how to install Python 3 on a Linux machine. This is not specific to a Linux Distribution as it should apply to all. If you get stuck or require some help please post a message on the comments below or drop me a a message directly. Open a new […]
Before installing Python, you’ll need to install a C compiler. The fastest way is to install the Xcode Command Line Tools by running.xcode-select –install You can also download the full version of Xcode from the Mac App Store, or the minimal but unofficial OSX-GCC-Installer package. Note: If you already have XCode installed, do not install OSX-GCC-Installer. In combination, the software can […]