Dec-23-2019, 08:32 AM
(This post was last modified: Dec-23-2019, 08:32 AM by randomhorse.)
(Dec-23-2019, 07:58 AM)buran Wrote: you are writing in a IDE and the file in which you write isbeginner.py
. given the extension (py
) it detects that what you type in that particular file should be python code. I really don't understand what else you expect...
If you want to just write plain text (e.g. like a comment or doc string), either make it a comment (using#
, or enclose it in quotes).
This is NOT how it should work.
Please watch the video if you haven't..
If I write.. "Hello what if this is a document" <-- This text won't do anything... When I try this in a IDE it won't simply show this.
What happens now is that "Hello what if this is a document" will turn the IF word into a statement automatically.
Which result in a syntax of course.
The IDE shouldn't convert the word if into a statement unless you asking it to..
Does that make sense to you?
I've been using this program for weeks now, since I'm learning still. This has nothing to do with the .py.
This issue started yesterday, I think I've accidently pressing something.. I don't know...