Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs

Lesson 1: Hello world tutorial


Lesson 1: Hello World

Lets start with getting a program to say “Hello World!” In Python, when we want the computer to “say” something we use the print() command. Just like writing a sentence, you need to put what you want the computer to say inside double quotes like this: print("Hello World!")Anything between double quotes in programming is called a string. Let’s try it below.

  • Try changing the string from "Hello World" to whatever you want!
  • Write more print("Another command!") below it and see what happens.
  • Mess around and don’t worry you can’t break anything.
  • Press the green play button to run the code.

Next Lesson - Lesson 2: Variables

2 years ago