简体   繁体   中英

Variable output in Jupyter-Notebook

In already prepared Jupyter notebook I have the next simple example:

IN: a = np.array([0, 1, 2, 3]) a OUT: array([0, 1, 2, 3])

But when I'm trying to copy&execute it in the PyCharm editor I don't see anything(code run without problems). Is it some kind of special output in Jupyter?

a = np.array([0, 1, 2, 3])
print(a)

use print function to show output in pycharm

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM