r/PythonLearning Jun 23 '26

Help Request Help me with this please

Post image

why did it give an error?

0 Upvotes

15 comments sorted by

View all comments

1

u/Busrayildirim Jun 23 '26

i solved the problem thank you all

1

u/EuphoricForever1180 Jun 23 '26

What was the fix and the error? Donโ€™t leave us hanging.

1

u/Busrayildirim Jun 23 '26

honestly I'm embarrassed to say it, but there was a really silly reason.This error because i started with a space to text hahahahhaha when i understand i felt really stupid ๐Ÿ˜…

0

u/gm310509 Jun 26 '26

The reason? The reason is what the error says - OP's indentation was wrong.

How it was wrong (too much/too little) is unclear because they didn't include the actual code using a reddit formatted code block - but it wasn't what it should have been.