Let's write some code!
To start playing with Python, we need to open up a command line on your computer. You should already know how to do that – you learned it in the Introduction to the Command-line Interface chapter.
Once you're ready, follow the instructions below.
We want to open up a Python console, so type in py on Windows or python3 on Mac OS/Linux and hit enter.
$ python3Python 3.6.1 (...)Type "help", "copyright", "credits" or "license" for more information.>>>