The most basic program is known as ‘Hello World’. The program simply outputs the phrase “Hello World” to an output device – often the display.
You can see the code and output below, or you can access it on repl.it by clicking here.
Code
![](https://blogs.glowscotland.org.uk/glowblogs/public/insidem11/uploads/sites/10357/2023/04/19144807/image-6.png)
Output
![](https://blogs.glowscotland.org.uk/glowblogs/public/insidem11/uploads/sites/10357/2023/04/16080922/image-1.png)
New Constructs/Concepts
Outputting
This program introduces the concept of outputting to the display using the print command. In this case, we give the print command a specific phrase to output: “Hello World”.
Construct | Line(s) | Python Syntax | Purpose |
---|---|---|---|
Outputting/Sending to Display | 2 | print() | To display something on the monitor |
Parsons Problem
Drag and drop the following lines of code to display the lyrics of Twinkle Twinkle.