r/codehs • • Nov 16 '24

What am I doing wrong? 🥲

Post image
2 Upvotes

9 comments sorted by

View all comments

Show parent comment

2

u/rokinaxtreme Nov 21 '24

True, it should be

def triple(number):  
return number*3

1

u/rokinaxtreme Nov 21 '24

Wait mb this is python, I'm about to get

ERROR!

Traceback (most recent call):

File "<idk.py>", line 2

return number*3

^^^^

IndentationError: expected an indent after function definition on line 1.

Yes, I memorized the stupid python error code after seeing it SO MANY TIMES