Search⌘ K
AI Features

Challenge: Favorite Quote

Explore how to use the Python print function to output text by writing a single line of code that displays your favorite quote. This lesson helps beginners understand the basics of text display in Python and get comfortable with coding interactive examples from the start.

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.