How to run Python code in Ubuntu command line?

How to run Python code in Ubuntu command line?