retagged by
6,253 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
994
994 views
1 1 vote
1 answers 1 answer
6.7k
6.7k views
1 1 vote
1 1 answer
4.4k
4.4k views
askpython asked Oct 30, 2020
4,382 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
3.1k
3.1k views
tofighi asked Feb 27, 2020
3,082 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.1k
1.1k views