Wednesday, 25 May 2011
Selection Structures
Selection structures are used to make decisions that allow us to control the path of execution.
This lesson covers the if selection structure.
This lesson covers the if selection structure.
Comparison and Boolean Operators
In this next lesson we will discuss Comparison operators and Boolean operators.
Comparison Operators are used to compare the values of two objects.
Boolean Operators allow us to combine comparisons.
Comparison Operators are used to compare the values of two objects.
Boolean Operators allow us to combine comparisons.
Tuesday, 24 May 2011
Exercises Part 2
Going back to your files from Exercises Part 1, we are going to be modifying them to allow user input.
User-Controlled Input and Output
Continuing from the last lesson we will look further into creating more general programs that allow the user to input values while the program is running, using the input() function.
Built-in Functions
The Python interpreter has a number of functions that are always available for use, meaning you do not have to import any libraries. This lesson will cover a few of the built-in functions.
Exercises Part 1
Here are a couple exercises to test your current knowledge. These should be completed in a new Python file.
Subscribe to:
Posts (Atom)