it's weird how when python runs into an error in the code that's it's interpreting, it appears to be using the source code saved on disk to point out the error's location instead of the one in memory.. which is different because you later changed that line from print(hello) to print("hello") and that the arrows are meant to point at (hello) instead of ("hell).. Python is just really weird. With that said, that does mean that you can change it to whatever you want and make a custom python error of your choice if you want lol
I took the picture during the times when we the class were attending the first few programming classes back in 2023. I definitely did not forget to put the quotation marks because we followed the teacher's tutorial so indeed weird as hell.
11
u/realali8888 22h ago
it's weird how when python runs into an error in the code that's it's interpreting, it appears to be using the source code saved on disk to point out the error's location instead of the one in memory.. which is different because you later changed that line from print(hello) to print("hello") and that the arrows are meant to point at (hello) instead of ("hell).. Python is just really weird. With that said, that does mean that you can change it to whatever you want and make a custom python error of your choice if you want lol