Python console supports line-by-line execution of Python commands and scripts, much as Python Shell. A full-featured Python console with full code completion is provided by PyCharm and is accessible from the Python or Debug Console under the Tools option in the menu bar.
Once you run your Python console in PyCharm, it will look like as follows:
Now, you can use this console to write your code. Let us write the same code as written in the previous section of this tutorial to generate a table for any number. The following outputs can be seen for two numbers, 9 and 56.
You can also see the code variables by clicking on the Show Variables option available on the left hand side of the console panel. The variables for the above code can be seen in the following screenshot.