PyCharm

Python – Console

Python – Console

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.

 

Top course recommendations for you

    Python Basic Programs
    2 hrs
    Beginner
    42.6K+ Learners
    4.46  (2300)
    Ecommerce Website with HTML & CSS
    3 hrs
    Intermediate
    26.1K+ Learners
    4.55  (1073)
    Oracle SQL
    4 hrs
    Beginner
    40.2K+ Learners
    4.54  (2581)
    Java Basic Programs
    2 hrs
    Beginner
    35K+ Learners
    4.45  (1129)
    Excel Tips and Tricks
    1 hrs
    Beginner
    71.3K+ Learners
    4.56  (5256)
    Factorial Program in Python
    1 hrs
    Beginner
    3.1K+ Learners
    4.56  (98)
    Palindrome Program in C
    1 hrs
    Beginner
    3.4K+ Learners
    4.42  (146)
    PHP for Beginners
    2 hrs
    Beginner
    46.1K+ Learners
    4.51  (3737)
    Catia Basics
    2 hrs
    Beginner
    18.3K+ Learners
    4.51  (1490)