How to use REPL for Python coding