Q. What is the difference between interactive mode and script mode in Python?


Answer =

In interactive mode, instructions are given in front of Python prompt (>>>) in Python Shell, Python carries out the given instructions and shows the result there itself.

In script mode, Python instructions are stored in a file, generally with.py extension, and executed together in one go as a unit. The saved instructions are known as Python script or Python program.

6 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post