retagged by
6,126 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
895
895 views
1 1 vote
1 answers 1 answer
6.7k
6.7k views
1 1 vote
1 1 answer
4.2k
4.2k views
askpython asked Oct 30, 2020
4,221 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.9k
2.9k views
tofighi asked Feb 27, 2020
2,943 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
1.0k
1.0k views