When python is running in the interactive mode and displaying the chevron prompt (>>>) - what question is python asking you?
Answers
Answered by
39
In the interactive mode the chevron is a prompt used by the interpreter to indicate that it is ready. Python is asking, 'What Python statement would you like me to run?'
Python programs are executed by an interpreter so it is considered to be an interpreted language. The interpreter can be used in two ways:
Interactive mode - If you type Python programs in this mode the interpreter will print the result.
Script mode - If you store code in a file the interpreter will execute the contents of the file, which is known as a script.
Answered by
15
Answer:
what is "code"in the context of this course
Similar questions