No products in the cart.

Difference between interactive and script mode …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Difference between interactive and script mode in Pythan
  • 2 answers

Divyansh Jaiswal 4 years, 2 months ago

Interactive Mode and Script Mode are the two main modes which are used in Python Programming Language. The basic differences between these two modes are as follows: Interactive mode is used when an user wants to run one single line or one block of code. It runs very quickly and gives the output instantly. Script Mode, on the other hand , is used when the user is working with more than one single code or a block of code. It takes more time to compile. In this mode, one can simply write all the lines of code in a text file. Read more on Brainly.in - https://brainly.in/question/6190006#readmore

Gaurav Seth 4 years, 2 months ago

"In Python, there are two modes. They are interactive and script.

Usually, the "normal mode" is the script and ends with a .py file and runs through the interpreter of Python. In this mode, we can run all the codes in a single file.

"Interactive mode" is a "command line shell" that provides instant feedback for every statement when running the statements. This mode is takes less time compared to script mode."

http://mycbseguide.com/examin8/

Related Questions

Define macros in wroter
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App