Hello World

3 important questions on Hello World

How do you get a backslash in an output string? "\"

By using a double backslash: print("Hier komt de bekslesh\\")

What does the following code print? print("My name is", "Python.", end="n ")
print("Monty Python.")

My name is Python.n Monty Python. Ja dit is een instinker

What does the following code print?
print("My name is ", end="")
print("Monty Python.")

My name is Monty Python. Vanwege end statement geen automatische nieuwe regel

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo