Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What does the Python interpreter do?
Think about how it processes the commands.
What file extension do Python scripts typically have?
Consider common programming file formats.
What is the role of the interpreter in Python?
Remember how Python differs from compiled languages.
True or False: Python code must be compiled before execution.
Think about the meaning of interpreted versus compiled.
Write a Python script that attempts to access an undefined variable. Describe what happens when this code is run.
Think about what happens in an interpreter when it reads a line referencing something that doesn't exist.
Create a Python script where a command is written incorrectly. Explain how the interpreter will handle this error.
Consider how strict the interpreter is regarding the syntax of commands.
4 more questions in this section. Enroll free to practise them all.
Enroll free