Summary: Python Brons

Study material generic cover image
  • This + 400k other summaries
  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Use this summary
Remember faster, study better. Scientifically proven.
Trustpilot Logo

Read the summary and the most important questions on Python brons

  • 1 Module 2

  • 1.1 2.1 Hello World

    This is a preview. There are 4 more flashcards available for chapter 1.1
    Show more cards here

  • How do you start a new rule in a print statement without a keyword parameter?

    \n
  • What does the parameter sep= do in a print statement

     The sep parameter specifies the separator between the outputted arguments (e.g., print("H", "E", "L", "L", "O", sep="-")
  • What does the parameter end= do in a print statement

    the end parameter specifies what to print at the end of the print statement.
  • What do you call an argument where its meaning is dictated by their position? e.g., the second argument is outputted after the first, the third is outputted after the second, etc.

    Positional argument
  • What does an empty print statement do?

    Output an empty line
  • 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 ", end="")print("Monty Python.")

    My name is Monty Python. Vanwege end statement geen automatische nieuwe regel
  • 1.2 2.2 Literals

    This is a preview. There are 8 more flashcards available for chapter 1.2
    Show more cards here

  • How can you add double quotes (") to text encapsuled in "" already?

    By using the backslash escape character
  • What types of literals are the following two examples?"Hello ", "007"

    Both string
  • What types of literals are the following examples?  2.0, 528, False

    Float(ing point), integer, boolean

To read further, please click:

Read the full summary
This summary +380.000 other summaries A unique study tool A rehearsal system for this summary Studycoaching with videos
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart