How do I open Python interpreter?

How do I open Python interpreter?

Type the command “python3” on the terminal (“python” on Windows, or sometimes “py”). This executes the interpreter programme in its entirety. To leave on a Mac, press ctrl-d (on Windows ctrl-z).