โฑ๏ธ Do It Now
Create a OneNote Page
Copy both the title DIN task – then complete the DIN task:
Y9 โ AU1.2 โ Python Refresher
| ๐ Do It Now |
| Answer each of the following: (1) Name the the Python editor we will work with this year (2) Describe the difference between the code editor and the shell (3) Explain why it is important to save Python files within a logical folder structure in your user area |
๐ Lesson Slideshow
๐ Lesson Activities
- Activity 1
- Activity 2
- Activity 3
- Plenary Activity
โจ๏ธ Activity 1 โ Explaining Inputs and Outputs
Print screen your code into OneNote, with the title:
Activity 1 โ Inputs and Outputs
(1) Annotate the code to explain where initialisation and assignment occur.
Explain the difference between initialisation and assignment.
(2) Explain what is being assigned to the variable and why using this coding technique is useful to programmers.
(3) Annotate the fString and explain how it works; in particular, what the curly brackets allow us to do.
โจ๏ธ Activity 2 – Amend your code so it follows this program
โจ๏ธ Activity 3 โ Your Own Additions
(1) Add further questions and responses to the program (your own ideas)
(2) See if you can combine several variables in an fString
๐ฏ Plenary Activity – End of Lesson Quiz
Click this link to complete the quiz: Variables, Inputs, Outputs and fStrings Quiz
Screenshot the result and paste it into OneNote