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.7K+ Learners
    4.45  (2328)
    Ecommerce Website with HTML & CSS
    3 hrs
    Intermediate
    26.2K+ Learners
    4.55  (1097)
    Oracle SQL
    4 hrs
    Beginner
    40.4K+ Learners
    4.54  (2633)
    Java Basic Programs
    2 hrs
    Beginner
    35K+ Learners
    4.44  (1137)
    Excel Tips and Tricks
    1 hrs
    Beginner
    71.5K+ Learners
    4.56  (5319)
    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  (147)
    PHP for Beginners
    2 hrs
    Beginner
    46.4K+ Learners
    4.5  (3865)
    Catia Basics
    2 hrs
    Beginner
    18.3K+ Learners
    4.5  (1503)