KnowledgeBoat Logo
|

Computer Science

Write the given instructions in Interactive and Script modes to get the following result:

Python is easy to learn and write.  
It allows us to work in two modes: Interactive mode and Script mode.  
Interactive mode is also known as Python Shell and Script mode is known as Python Editor. It is a platform-independent language.  
We find it interesting to work with Python.  

Getting Started

1 Like

Answer

Interactive Modes

>>> print("Python is easy to learn and write.")
>>> print("It allows us to work in two modes: Interactive mode and Script mode.")
>>> print("Interactive mode is also known as Python Shell and Script mode is known as Python Editor. It is a platform-independent language.")
>>> print("We find it interesting to work with Python.")

Script Modes

print("Python is easy to learn and write.")
print("It allows us to work in two modes: Interactive mode and Script mode.")
print("Interactive mode is also known as Python Shell and Script mode is known as Python Editor. It is a platform-independent language.")
print("We find it interesting to work with Python.")
Output
Python is easy to learn and write.
It allows us to work in two modes: Interactive mode and Script mode.
Interactive mode is also known as Python Shell and Script mode is known as Python Editor. It is a platform-independent language.
We find it interesting to work with Python.

Answered By

1 Like


Related Questions