Python Quiz 1 Retake
Python Quiz 1 Retake
Name: Kiefer
Please (1) retake the quiz and (2) explain why the answer you chose is correct.
Highlight the correct answer. Any copy/pasting or plagiarism will result in a 0.
14. What is the primary difference between the Python shell and a text editor?
a) The Python shell is used for writing and saving Python code files, while a text editor is
used for executing Python code.
b) The Python shell is an interface for interacting with Python code in real-time, while a
text editor is used for writing and saving longer Python code files.
c) The Python shell is a type of text editor specifically designed for Python programming.
d) The Python shell and a text editor serve the same purpose and can be used
interchangeably.
Explain. B, The Python shell allows us to interact with the code in real time because it would
instantly give out the result whereas the text editor is used to write and save longer bars of
code.