Computer Science, asked by ASweety1431, 1 year ago

Hey guys......How are you all ???

Need ur help !!

What are the advantages and disadvantages of interactive mode in Python ??????

☺☺☺

Answers

Answered by DSamrat
23

Advantages :

1. Interactive mode is a good way to play around and try variations on syntax.

2. In interactive mode what we type is immediately run.

3. Interactive mode allows us to test out and see what Python will do.

4. We can easily play with new Python statement there in interactive mode.

5. With the Python interactive interpreter it is easy to check Python commands.

Disadvantages :

1. We need to be careful while writing program in interactive mode as it has different syntax.

2. We sholud write with proper syntax to avoid confusion here .


RishabhRDXRKO: biggest disadvantage.... it is interpreted language
RishabhRDXRKO: so it take time to execute more than other compiled language
DSamrat: ok. thanks mate.
priyankasiwach46: superb
Answered by DMani3
1

ADVANTAGES:

1.It is great for single lines or smaller codes.

2.if you want to print a statement just type the code and enter.

eg. >>>1+1

2

eg.>>>a=10

>>>a

10

DISADVANTAGES:

1.it is harder to edit longer programs or even existing program.

2.if we save the program the instructions also gets saved.

Similar questions