In interactive mode, the program statements can be typed in prompt,and the Interpreter also displays the result in the prompt itself. The prompt chevron indicates that the interpreter is ready.Interactive mode execution is convenient for smaller programs