There are two different modes in python:-
1) Interactive Mode- When we check the statement line by line this mode is called interactive mode.
2) Script Mode- When we check the statement paragraph by paragraph this mode is called script mode.
HOPE THIS HELPS YOU.