Informatics Practices
What is the difference between Script mode and Interactive mode in Python?
Getting Started
1 Like
Answer
In script mode, we write a Python program in a file and execute it to display the output and in interactive mode, we use the Python prompt '>>>' to start typing commands and see immediate output.
Answered By
1 Like
Related Questions
Write Python statement for the following in interactive mode:
- To display sum of 3, 8.0, 6*12
- To print sum of 16, 5.0, 44.0
Write the output of the following:
num1 = 4 num2 = num1 + 1 num1 = 2 print(num1, num2)
What are some limitations of Python programming language?
What are advantages/disadvantages of working in Interactive mode in Python?