---
tags: python-course
title: lesson-02
---
# Hedy
[](https://hackmd.io/ws5QGbBkRFut6SnLj66WcA)
> #### Editing Notes
> 1. Code at the end is hard to read (transparency)
:::info
:bulb: Introduce Hedy as a playful, multi-lingual, gradual programming environment.
Personas: Teacher is James, student is Nina.
:::
:::success
:movie_camera: VIB background fading to course title slide. James and Ninas smiling faces fade in.
:::
:::warning
:notes: Upbeat intro music
:::
**Nina**: Can we do some programming already?
**James**: Yes we can! Programming isn't as daunting as it might seem. To show you this, let's start with a programming language called Hedy.
**Nina**: What is Hedy?
**James**: Hedy is a fun programming language that anyone can use in their web browser. It is special because it starts very simple, and gradually builds up in difficulty until it is no different than "real" Python.
**Nina**: How do I use Hedy?
**James** (to the camera): If you're watching this video as part of a course provided by VIB, you should have received a link to join a Hedy classroom for the course. You should follow this link in your web browser now.
:::success
:movie_camera: Fade to the level 1 introduction page. Highlight parts of the page as they're described.
:::
**Nina**: Ok I've navigated to the Hedy website.
**James**: This is Hedy at level 1. You should see the same page. Before we start using Hedy though, let's familiarise ourselves with the different parts of the page.
:::success
:movie_camera: Zoom in on the text editing box.
:::
**James**: You can type code into this editing box here.
:::success
:movie_camera: Move mouse over the "Run code" button.
:::
**Nina**: When you are ready to run the program that you have typed in, press the "Run code" button.
:::success
:movie_camera: Zoom out to also display the console.
:::
**James**: Your program can display output in the console section here.
:::success
:movie_camera: Display a subtle flashing highlight around the console. Then zoom out to the whole page.
:::
**James**: There are some examples displayed here. You can type in the examples to see how they work.
:::success
:movie_camera: Zoom in to the challenges tabs.
:::
**James**: Each tab, here, contains a challenge for you to practice your skills on. You should attempt these once you have familiarised yourself with the available commands at this level. Let's do that now...
:::success
:movie_camera: Zoom back to the code/console and test `print`, `ask`, and `echo`.
Do a take where Nina and James talk to each other as if one is in the code area and one is in the console.
:::
**Nina**: What can I do at level 1?
**James**: The first level of Hedy gives you access to 3 programming commands: `print` allows you to display text in the console; `ask` allows you to get some input by asking a question; and `echo` allows you to display the answer to the question you asked.
**Nina**: What is the console?
**James**: The print command allows you to display some text. This is often to a text interface called the console. You can think of it as the place `print` prints to.
**James**: (looking at the camera) You should now try out these commands to get a feel for what they do. Once you are ready, select one of the challenges and attempt to solve it. Once you have completed several challenges of your choice, try to complete the quiz and proceed to the next level. Once you have completed level 4 come back to this video. If you have any issues or problems at any level of Hedy, please reach out to us for help. Once again, we recommend you stop at level 4. Also, take your time to solve several challenges at each level.
**Nina**: Pause the video now to explore Hedy.
:::warning
:notes: Waiting music
:::
> [name=James] Can we answer some of these questions after a waiting period? Can we ask something like, are all the lines run at once? Can Nina fake some potential wrong answers?
**James**: So Nina, did you enjoy programming with Hedy? Was there anything scary about Hedy?
**Nina**: I really liked Hedy, thanks James!
**James**: Did you notice in what order Hedy follows the commands you give it?
**Nina**: The commands are run one at a time from top to bottom.
**James**: That's right! And did you notice what the purpose of placing quotation marks on each side of some text was?
**Nina**: Because otherwise there's no way of telling if some text was a command or not.
**James**: Exactly right!
**James** (to the camera): We hope you enjoyed using Hedy to familiarise yourself with the basic concepts of programming. You will continue to develop these concepts as you build your programming skills in this course. At this level, Hedy is quite different from Python. You are very welcome to continue using Hedy into higher levels where it will gradually become more and more similar to real Python. However, in this course we will say goodbye to Hedy now.
:::success
:movie_camera: James and Nina wave into the camera and fade to VIB logo slide.
:::
:::warning
:notes: Upbeat outro music
:::