Lesson Objectives
- identify the Inputs, Processes and Outputs of a simple program- document the planning by creating a flowchart for the program
Starter
Read through Python Challenge 12
A gardener needs to buy some turf for a project they are working on. The garden is rectangular with a circular flower bed in the middle. Ask for the dimensions of the lawn and the radius of the circle. Calculate and display the amount of turf needed to re turf the garden. Test your program with several different sets of dimensions.
Your Task
Identify the Inputs, Processes and Outputs for this problem
Main
1. Create a flowchart using draw.io to plan your solution2. Build your solution in Python
3. Test your solution using a variety of dimensions
Ext
What happens if the user enters a larger circle than rectangle?
Hey, can you please add Computer History Quiz to your blog ?
ReplyDelete