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

Module 16 of 20 · Text

The print() function - the keyword arguments 2

David Khieu

The print() function - the keyword arguments

And now it's time to try something more difficult. 

If you look carefully, you'll se that we've used the end argument, but the string assigned to it is empty (it contains no characters at all).

What will happen now? Run the program in the editor to find out. 

As the end argument has been set to nothing, the print() function outputs nothing too, once its positional arguments have been exhausted. 

The console should now be showing the following text: 

My name is Monty Python.

Note: no newlines have been sent to the output

The string assigned to the end keyword argument an be of any length. Experiment if you want. 

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?