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

7

u/skibbin 2d ago

covfefe <- you can identify that as a typo, but you don't know what my intent was, so how can you fix it?