Hello World Notebook
A simple notebook to test rendering on sublimated.
[1]
1message = "Hello from sublimated!"2print(message)Hello from sublimated!
[ ]
1# simple arithmetic2result = sum(range(1, 101))3print(f"Sum of 1 to 100 = {result}")4print(f"Square of result = {result ** 2}")Data Table
Execute result with HTML table output:
[3]
1data = [2 {"name": "Alice", "age": 30, "city": "Dublin"},3 {"name": "Bob", "age": 25, "city": "Berlin"},4 {"name": "Carol", "age": 35, "city": "Paris"},5]6data[{'name': 'Alice', 'age': 30, 'city': 'Dublin'}, {'name': 'Bob', 'age': 25, 'city': 'Berlin'}, {'name': 'Carol', 'age': 35, 'city': 'Paris'}]Error Handling
Demonstrating error output rendering:
[4]
1# this will raise an error21 / 0---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call last)
Cell In[4], line 2
1 # this will raise an error
----> 2 1 / 0
ZeroDivisionError: division by zero