Fix the Indentation
Python
10 pts
Fix the Indentation
This program has an IndentationError. Press Run to see it.
Fix the code so it prints:
You are an adult Welcome!
Only the first message belongs inside the if block.
Checklist
- Keep
age = 18. - Fix the indentation so the program prints
You are an adultand thenWelcome!.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
