|||

Y9 – AU1.1 – Getting Set With IDLE

Accessibility Settings

โฑ๏ธ 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:

  1. Creating a file
  2. Running it through the terminal
  3. Running simple Python commands in the terminal
  4. 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.

Call it: AU1.1 โ€“ Quiz

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