GoConqr has a new look! Let us know what you think.

Module 2 of 20 · Text

Hello, World! It's time to start writing some real, working Python code. It'll be very simple for the time being.

David Khieu

Hello, World

It's time to start writing some real, working Python code. It'll be very simple for the time being. 

As we're going to show you some fundamental concepts and terms, these snippets of code won't be serious or complex. 

Run the code in the editor window on the right. If everything goes okay here, you'll see the line of text in the console window. 

Alternatively, launch IDLE, create a new Python source file, fill it with this code , name the file and save it. Now run it. If everything goes okay, you'll see the rhyme's line in the IDLE console window. The code you have run should look familiar. You saw something very similar when we led you through the setting up of the IDLE environment. 

Now we'll spend some time showing and explaining to you what you're actually seeing, and why it looks like this. 

As you can see, the first program consists of the following parts: 

  • the word print
  • an opening parenthesis
  • a quotation mark
  • a line of text: Hello, World!
  • another quotation mark
  • a closing parenthesis

Each of the above plays a very important role in the code

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?