2.1.2.11 LAB: Python literals - strings

LAB 

Estimated time

5 minutes

Level of difficulty

Easy

Objectives

  • becoming familiar with the print() function and its formatting capabilities;
  • practicing coding strings;
  • experimenting with Python code.

Scenario

Write a one-line piece of code, using the print() function, as well as the newline and escape characters, to match the expected result outputted on three lines.

Expected output


"I'm" ""learning"" """Python"""
output


  • Console 

Comments

Popular Posts