पायथन इंटरप्रेटर को पायथन शेल के रूप में जाना जाता है जो कोड को पढ़ता है और निष्पादित करता है। यह निष्पादन के ______ तरीके प्रदान करता है।
Python Interpreter is known as python shell that reads and executes code. It provides ______ modes of Execution.
A
1
B
2
C
3
D
4
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
.pyextension) and executed as a complete script. This mode is used for larger programs.
Correct Answer: B) 2