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.
Very nice explained
ReplyDeleteThank-you so much : )
DeleteVery good
DeleteWow
ReplyDeleteThank you ☺️
DeleteThanks for this ans...
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )