Python is a programming language. Programming languages are designed to help you take a repetitive task and automate the task or communicate how you did an analysis. 
You issue commands to the Python interpreter to have python run a series of steps – like making dinner using a recipe.
You can do this in two different ways – using the interactive python console and by using the python interpreter on the command line.
Interactive Python console:

The triple > means that you’re in the interactive console! Using the interactive python console is like doing recipe development :
You are testing things out and writing down notes on what works and what doesn’t. The things that do work, you copy down to a more formal recipe.
Python command line interpreter :

Using the python interpreter on the command line is like being in an industrial kitchen that makes freezer meals – you’re taking a series of steps that someone else wrote and you’re just making a bunch of copies of that dish. Whenever you need to make that particular dish, you pull that recipe out and follow the steps again.

Either way, you’re cooking! But the python interactive interpreter is better for when you’re just starting to make something, and the python command line console is better for when you need to produce results.