Posted on: 08.01.2016 22:13 |
Author: Josh Archer |
Categories: LPTHW
LPTHW - Exercise 5
Exercise 5 takes us back over variables and printing. It also introduces us to 'format strings'.
One key thing to understand about Python is that there seems to have been a bit of a 'mess' around handling strings. This course exploits the behaviour available in Python 3.6 and above. And I can see why - it's the closest to the way Python 2 handled strings.
Posted on: 15.12.2015 21:56 |
Author: Josh Archer |
Categories: LPTHW
LPTHW - Exercise 4
First introduction to variables here. Variable has a very dry and precise definition in Computer Science:
In computer programming, a variable or scalar is a storage location paired with an associated symbolic name (an identifier), which contains some known or unknown quantity of information referred to as a value.
Don't let that put you off though. A variable can be thought of simply as a thing with a name that stores some information.