¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 10 de 20 · Texto

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. 

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?