Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Errors and Streams

Throw an error

# do the naughty divide
1 / 0
---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)
Cell In[1], line 2
      1 # do the naughty divide
----> 2 1 / 0

ZeroDivisionError: division by zero

Print some output

print("Hello world!")