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
    33K+ Learners
    4.51  (1374)
    Ecommerce Website with HTML & CSS
    3 hrs
    Intermediate
    21.3K+ Learners
    4.57  (622)
    Oracle SQL
    4 hrs
    Beginner
    29.9K+ Learners
    4.58  (1351)
    Java Basic Programs
    2 hrs
    Beginner
    31.7K+ Learners
    4.47  (807)
    Excel Tips and Tricks
    1 hrs
    Beginner
    58.5K+ Learners
    4.62  (2923)
    Factorial Program in Python
    1 hrs
    Beginner
    2.7K+ Learners
    4.64  (76)
    Palindrome Program in C
    1 hrs
    Beginner
    2.8K+ Learners
    4.38  (106)
    PHP for Beginners
    2 hrs
    Beginner
    37.4K+ Learners
    4.54  (2180)
    How to become a programmer
    1 hrs
    Beginner
    3.6K+ Learners
    4.49  (39)
    Catia Basics
    2 hrs
    Beginner
    14.5K+ Learners
    4.51  (962)