Search⌘ K
AI Features

Challenge: Favorite Quote

Explore using Python's print function to display text by writing a simple line of code that outputs your favorite quote. This lesson helps you practice basic syntax, understand how to show text on screen, and gain confidence in running your first Python programs.

We'll cover the following...

In Python, you can display text on the screen using a built-in function called print.

A quote is just text, like a sentence or phrase from a movie, book, or something you like.

Your task:
Write one line of Python code that prints one of your favorite quotes.

💡 Hint:
Code usually follows this pattern:
function nameparentheseswhat you want to show inside

When you click Run, your quote should appear in the output.

Python 3.8
# Print your favorite quote here.