I added an extra indentation level that Python did not expect.
def greet():
print("Hello")
print("Welcome")IndentationError: unexpected indent
def greet():
print("Hello")
print("Welcome")
greet()I fixed the problem by aligning the indentation correctly.
Reflection: In Python, indentation is not just formatting — it defines code blocks. I also learned to avoid mixing tabs and spaces.