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
    43.7K+ Learners
    4.43  (2593)
    Ecommerce Website with HTML & CSS
    3 hrs
    Intermediate
    26.7K+ Learners
    4.53  (1241)
    Oracle SQL
    4 hrs
    Beginner
    41.5K+ Learners
    4.55  (3036)
    Java Basic Programs
    2 hrs
    Beginner
    35.3K+ Learners
    4.45  (1193)
    Excel Tips and Tricks
    1 hrs
    Beginner
    72.8K+ Learners
    4.56  (5634)
    Factorial Program in Python
    1 hrs
    Beginner
    3.1K+ Learners
    4.59  (109)
    Palindrome Program in C
    1 hrs
    Beginner
    4.3K+ Learners
    4.55  (806)
    PHP for Beginners
    2 hrs
    Beginner
    47.2K+ Learners
    4.49  (4181)
    Catia Basics
    2 hrs
    Beginner
    18.6K+ Learners
    4.51  (1560)