Lesson Aim
- Use python skills gained to create a program to produce a solution
- Design and implement a python program
Starter
How do we design a program. Identify the variables, create an algorith and then produce the program
Main Task
Create a program which requests the length of the Opposite and adjacent sides of a right angled triangle and the calculates the Hypotenuse using the pythagoras theorem.
Extension
Modify your program to allow calculation of the other two sides.
Plenary
Review how to design a program – identfy variables and then produce code