3.3 – Marty Python Dance-Off
Lesson Overview
In this lesson, students will be putting together their first scripts using IDLE so that they can have a continuation of Python commands to control Marty. From doing this, students will start to build up a dance routine for Marty and have a small danceoff in the class.
- Python , Coding , Script , Dance , Movement,
Content Sections
3.3 – Marty Python Dance-Off
Lesson Overview
In this lesson, students will be putting together their first scripts using IDLE so that they can have a continuation of Python commands to control Marty. From doing this, students will start to build up a dance routine for Marty and have a small danceoff in the class.
- Python , Coding , Script , Dance , Movement,
- Lesson 3.1 & 3.2
- Laptop or PC
-
- Marty the Robot
- Python editor (such as IDLE)
- Access to computers/laptops (with Python & MartyPy installed)
- Student workbook (Lesson 3)
- Marty Says cards
Learning Objectives
- Create small Python scripts using IDLE or an equivalent editor
- Explore the use of combining multiple commands to get a sequence of movement happening
1. Warm-up by getting students to create small sequences using the IDLE commands as before
a. Wouldn’t it be great if we could type more than one command at a time and run them all in one go? This is where scripts are useful and should be used
2. Demo creating, saving and running the Python script in the editor that students will be using
a. Highlight best practices of where students should be saving the Python files
3. Challenge students to a dance-off
a. Agree to a song for the whole class and set a time limit for how long students have to work on their Marty dance routines
4. Bring all Marty’s together and start the dance-off and get students to pick out their favourite dance routines, discussing with other groups what code they used for different moves
Extensions & Support
- Each team could choose their own song and demo their Marty dance individually
- Set some constraints for the dance off such as a minimum of 3 different body parts must move at some point during the routine
Additional Reading
- Educator’s Guide
- Get Started with MartyPy
- MartyPy documentation