diff --git a/foundations/jupyter.md b/foundations/jupyter.md index 9fd45a415..763072c7f 100644 --- a/foundations/jupyter.md +++ b/foundations/jupyter.md @@ -81,6 +81,15 @@ jupyter lab —browser=chrome **Congratulations!** You have just set up your first Python environment and run your first Python code in a Jupyter notebook. +
Info
+ There are a few code-syntax differences between running Python in a Jupyter notebook and a script: +print([THING YOU WANT TO PRINT])
, whereas in Jupyter, you can simply have the last line of a code cell be [THING YOU WANT TO PRINT]
.plt.show()
to display your plot, but plots are shown automatically in Jupyter.