Skip to main content
Print a train boarding pass using \n, and the sep and end keyword arguments of print(). Open Lab 4 in the IP Lab Portal

What you will practice

  • Join values with a custom separator
  • Keep several prints on one line
  • Draw a small text banner

Before you start

Time

15 minutes

Where

IP Lab Portal

Module

Module 3: Operators, expressions, and console I/O

  • In the IP Lab Portal, open Lab 4 - Formatting output with print().
  • In class, this lab comes right after the Lesson 1 recap slide in Module 3 core material.