This lesson teaches pupils about generating and using random values including floating point, integers and strings in Python. It is suitable for KS3 computing and GCSE 9-1 computer science pupils.
It includes an attractive dyslexia friendly PowerPoint presentation that includes differentiated lesson objectives, a video to teach key skills and lots ofpractical programming practice. It also includes a comprehensive teacher’s lesson plan including all the answers.
Please note: This lesson does assume the pupils are familiar with basic programming constructs of sequence, selection (if statements) and iteration (while and for loops).
Duration: 1 lesson
This lesson teaches pupils about:
- Importing the random module