The work space of matlab can be very convenient to view the content and type of variables, very convenient, pycharm can also, there are several ways, one by one introduced below
Method 1 Semi-permanent type
Next to Run in the upper right corner, find Edit Configuration, click
Find and execute the following run using python console, check
Method 2 Right-click and select to execute the selected code in the python console
Method 3 shortcut keys
Is the shortcut for the second method Alt + Shift + E