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

Modul 10 von 20 · Text

The print() function - instructions 2

David Khieu

The print() function - instructions

We've changed the example a bit - we've added one empty print() function invocation. We call it empty because we haven't delivered any arguments to the function. 

You can see it in the editor window. Run the code. 

What happens? 

If everything goes right, you should see something like this: 

As you can see, the empty print() invocation is not as empty as you may have expected - it does output an empty line, or (this interpretation is also correct) its output is just a newline. 

This is not the only way to produce a newline in the output console. We're now going to show you another way. 

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