2.1.1.19 LAB: The print() function

LAB 

Estimated time

5 minutes

Level of difficulty

Very Easy

Objectives

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

Scenario

Modify the first line of code in the editor, using the sep and endkeywords, to match the expected output. Use the two print() functions in the editor.
Don't change anything in the second print() invocation.

Expected output


Programming***Essentials***in...Python
output



print("Programming","Essentials","in")
print("Python")
  • Console 

Comments

Popular Posts