retagged by
5,942 views

1 Answer

Best answer
1 1 vote

Add these two lines to the first cell and execute it before running other cells:

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"

 

selected by

Related questions

1 1 vote
1 1 answer
743
743 views
1 1 vote
1 answers 1 answer
6.5k
6.5k views
1 1 vote
1 1 answer
4.1k
4.1k views
askpython asked Oct 30, 2020
4,052 views
Whener I run Jupyter notebook there are some kernels that do not exist on system and generate errors. How can I remove them?
1 1 vote
1 1 answer
2.8k
2.8k views
tofighi asked Feb 27, 2020
2,769 views
How can I give access to others to view, comment or edit my Jupyter Notebook on Google Colab?
0 0 votes
1 1 answer
902
902 views