diff options
author | Zhongheng Liu <z.liu@outlook.com.gr> | 2025-02-25 16:42:46 +0200 |
---|---|---|
committer | Zhongheng Liu <z.liu@outlook.com.gr> | 2025-02-25 16:42:46 +0200 |
commit | 52c676985e8a11b8f70ed3c6c00750c53a0e7eba (patch) | |
tree | 9caff0801d9959cc0e74359f1136cb2e6fe5f636 /notebooks/dictionaries.ipynb | |
parent | 8834da60a01294fd509c7cebf3b129fcc378d152 (diff) | |
download | cs-y13-52c676985e8a11b8f70ed3c6c00750c53a0e7eba.tar.gz cs-y13-52c676985e8a11b8f70ed3c6c00750c53a0e7eba.tar.bz2 cs-y13-52c676985e8a11b8f70ed3c6c00750c53a0e7eba.zip |
feat: add more to jupyter notebook
Diffstat (limited to 'notebooks/dictionaries.ipynb')
-rw-r--r-- | notebooks/dictionaries.ipynb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/notebooks/dictionaries.ipynb b/notebooks/dictionaries.ipynb index e69de29..dabcc4f 100644 --- a/notebooks/dictionaries.ipynb +++ b/notebooks/dictionaries.ipynb @@ -0,0 +1,40 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# Activity 19P\n", + "\n", + "TEST_CLASS_EXAM_DATA = {\n", + " \"Justin\": 0,\n", + " \"Kim Jong Un\": 69,\n", + " \"Kim Il-Sung\": 150,\n", + "}\n", + "\n", + "print(TEST_CLASS_EXAM_DATA[\"Justin\"])\n", + "\n", + "TEST_CLASS_EXAM_DATA[\"Skibidi Rizzler\"] = 66\n", + "\n", + "del TEST_CLASS_EXAM_DATA[\"Justin\"]\n", + "\n", + "print(TEST_CLASS_EXAM_DATA)\n" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": ".venv", + "language": "python", + "name": "python3" + }, + "language_info": { + "name": "python", + "version": "3.12.8" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} |