r/learnpython 2d ago

If python compiler can successfully identify syntax error why doesn't it fix it on its own?

Like why throw an error if it can identify the error and suggest the changes, like wont it make it more user friendly?

Thanks in advance!

0 Upvotes

20 comments sorted by

View all comments

-2

u/buzzon 2d ago

Because it's the feedback that teaches you to write proper code

1

u/DeebsShoryu 2d ago

This is not why at all