Skip to the content.

Day 0: Print Function

Learn how to use Python’s print function - your first step into programming!

Task

Write your first line of code using the print() function.

Description

The print() function displays messages on your screen. It can handle:

  • Text (strings)
  • Numbers
  • Variables
  • And more!

Example

1
print("I love Python")

Output:

1
I love Python