โฑ๏ธ Do It Now
Open Teams and try to load the class notebook (OneNote) for this class
If you can, create a section called Autumn Term 1
Then you will create two pages
Y7 โ AU1 – My Shared Folder
Y7 โ AU1.1 โ Coding Python With IDLE
๐ Lesson Slideshow
๐ Lesson Activities
- Demo Code
- Activity 1
- Activity 2
๐ Demonstration Code
Copy this code into IDLE so we can better use the application
q1 = input("What vegetable makes French Fries? ")
if q1.lower() == "potato":
print("Correct, the answer is potato")
else:
print(f"Incorrect, the answer is not {q1}")โจ๏ธ Activity 1 โ IDLE User Guide
In OneNote you must produce a guide to using IDLE
In it you will use screenshots and straightforward explanations to demonstrate:
- Creating a file
- Running it through the terminal
- Running simple Python commands in the terminal
- Configuring IDLE to suit the needs of the user
โจ๏ธ Activity 2 โ Further Coding Challenge (if we have time)
Create a new file and save it in the folder for today’s lesson.
Use the example code you used to check if IDLE was configured accurately as a template for your questions.
Screenshot the code and paste it into OneNote with the title:
Activity 2 Code