Assignment, Variables, Constants & Sequences
Inputs, Outputs & Type Conversion
IF Statements & Boolean Operators
Nested Selection and Iteration
WHILE, REPEAT-UNTIL Loops
Validation and verification
Validation and authentication routines
High-level & Low-level languages
Assemblers, Compilers & Interpreters
1. Write a simple python program to generate a random number between 1 and 10 and OUTPUT the result. (use lesson notes to help)
2. Write a python program to roll two dice and OUTPUT both of the dice values and the total value.
3. Write a python program to toss a coin and OUTPUT if it is heads or tails.
3 a. Get the user to enter a number and then toss the coin that number of times. OUTPUT the results
Extension: Create a game that uses random number generation.
I can copy code to create a random number.
I can use random number generation in python in a program of my own.
I can use random number generation in python to solve a problem.