Machine Learning MCQS - QUESTION DETAILS

What is the purpose of the Python interactive shell (REPL)?
A. To execute Python scripts
B. To write and test Python code interactively
C. To debug Python code
D. To compile Python code

The Python interactive shell (REPL) allows users to write and test Python code interactively, line by line.

Similar Questions

What is the significance of PEP 20 in Python's development?






What was the primary reason for the introduction of type hints in Python?






What is one of the key features of Python that makes it stand out among other programming languages?






Which of the following statements best describes Python's philosophy regarding simplicity?






Which version of Python introduced the 'async' and 'await' keywords for asynchronous programming?






What was the major focus of Python's development during the 3.x series?






Which of the following best describes Python's approach to code execution speed?






Which version of Python introduced the 'with' statement for better resource management?






Which of the following best describes Python's approach to code readability?






Which of the following data structures is NOT a built-in type in Python?