GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 2 von 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

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck