Search⌘ K
AI Features

Challenge: Movie Night

Explore how to use Python to automate decisions by building a program that asks for a user's age and determines movie access. Learn essential skills in input processing and conditional logic to control program flow.

We'll cover the following...

Ask the user for their age. If they’re 13 or older, they can watch a movie. Otherwise, say they’re too young.

If you don’t know how to do this, click the “Show Hint” button.

# Write your code here.
Code that checks if the user is old enough to watch a movie