पायथन इंटरप्रेटर को पायथन शेल के रूप में जाना जाता है जो कोड को पढ़ता है और निष्पादित करता है। यह निष्पादन के ______ तरीके प्रदान करता है।
Python Interpreter is known as python shell that reads and executes code. It provides ______ modes of Execution.
A)
B)
C)
D)
Explanation:
Python Interpreter provides two modes of execution:
-
Interactive Mode: Code is executed line by line as it is typed into the Python shell. It is useful for testing small snippets of code.
-
Script Mode: Python code is written in a file (with a
.py
extension) and executed as a complete script. This mode is used for larger programs.