"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"# PyQuiz bootstrap โ works in Colab or any local Jupyter.\n",
"import os, urllib.request\n",
"REPO = \"https://raw.githubusercontent.com/brendanpshea/computing_concepts_python/main\"\n",
"if not os.path.exists(\"pyquiz.py\"):\n",
" urllib.request.urlretrieve(f\"{REPO}/tools/python_code_quiz/pyquiz.py\", \"pyquiz.py\")\n",
"\n",
"from pyquiz import PracticeTool\n",
"practice_tool = PracticeTool(\n",
" json_url=f\"{REPO}/tools/python_code_quiz/banks/nb05_collections.json\"\n",
")\n"
]
},
{
"cell_type": "markdown",
"id": "8636a6b2",
"metadata": {},
"source": [
"## โ๏ธ Capstone โ Build a Collection Manager (AI-Assisted)\n",
"\n",
"This is where every collection in the notebook earns its keep. You'll build a small **collection-manager** program โ something that grows, gets searched, and reports on itself. The default fits the shop (a catalog of the Midnight Masquerade's costumes), but **pick your own**: a monster-dex, a trading-card binder, a music library, a bookshelf, a Pokรฉdex of your own invention.\n",
"\n",
"Whatever it is, your program must hold its data in the **right** collections:\n",
"\n",
"- a **dict** to look something up **by name** (its stats, price, or details),\n",
"- a **list** to keep things in order (the order added, your top picks), and\n",
"- a **set** to track what's **unique** โ what you've already collected, or which tags appear.\n",
"\n",
"It also needs a **menu loop** (the player chooses *add / find / list / quit* each round โ that's Notebook 4) and at least **one function** you wrote (for example, one that adds an item or looks one up).\n",
"\n",
"**Step 1 โ Design it first (before the AI).** In a markdown cell, jot down: your theme, what one *item* is (its name and 2โ3 fields), what the menu lets the player do, and what 'done' looks like (collected them all? hit a target?).\n",
"\n",
"**Step 2 โ Turn your design into a prompt.** Fill the blanks and send it to Gemini (or Claude / ChatGPT):\n",
"\n",
"> *Write a small collection-manager program in Python for Google Colab. Theme: **[your theme]**. Each item has a name and these fields: **[your fields]**. Keep the catalog in a **dictionary** keyed by name, the order added in a **list**, and the set of names collected in a **set**. Show a menu loop with options to add an item, look one up by name, list everything, and quit. Put at least the 'add' and 'look up' logic in their own functions. Keep it short and beginner-readable.*\n",
"\n",
"**Step 3 โ Get the bones working, then test.** Paste it into the cell below and **run it now**. Get the simplest version working first โ add one item, look it up, list the catalog โ and check it by hand before adding more.\n",
"\n",
"**Step 4 โ Add the bells and whistles.** Once the core runs, add **one or two**, testing after each: sort the list (most expensive first, like the Phantom's masks), report how many *distinct* items you have (that's your set), or a 'find every item with tag X' filter.\n",
"\n",
"**Step 5 โ Test it like Smee.** Try to break it: look up a name that isn't there (does `.get()` save you?), add the same item twice, list an empty catalog. Fix one thing it gets wrong.\n",
"\n",
"**Step 6 โ Reflect.** In a markdown cell, write 2โ3 sentences: what did the AI get wrong or what did you improve, and how did you fix it?\n",
"\n",
"Remember the course rule: *AI is a fast first draft. You verify.*"
]
},
{
"cell_type": "code",
"execution_count": 32,
"id": "3bfbc794",
"metadata": {},
"outputs": [],
"source": [
"#| eval: false\n",
"# โ๏ธ Paste your AI-built collection manager here, then run it and fix what's broken."
]
},
{
"cell_type": "markdown",
"id": "d58fc519",
"metadata": {},
"source": [
"## Key Terms\n",
"\n",
"- **Abstract Data Type (ADT)** โ A description of *what* a collection does (its operations and their behaviour) separate from *how* it stores the data.\n",
"- **Aliasing** โ When two variables point at the same underlying object, so a change made through one is visible through the other.\n",
"- **Comprehension** โ A compact one-line way to build a new list or dictionary from an existing sequence.\n",
"- **Copy** โ A new, independent object with the same contents. For a list, `lst.copy()`, `list(lst)`, or `lst[:]`.\n",
"- **Default value** โ The value returned by `d.get(key, default)` when the key is missing.\n",
"- **Dictionary** โ A collection of keyโvalue pairs that supports fast lookup by key. Written with `{key: value, ...}`.\n",
"- **Difference (sets)** โ The elements in one set but not another. Written `a - b`.\n",
"- **Hashing** โ Turning a key into a number that tells Python which \"shelf\" to store or find a value on. It is what lets dictionaries and sets look things up without scanning, and why their keys must be immutable.\n",
"- **Immutable** โ Cannot be changed after it is created. Tuples are immutable; lists are not.\n",
"- **Implementation** โ The actual storage and code that fulfils an ADT's promise.\n",
"- **Index** โ The position of an item in an ordered collection. The first index in Python is `0`.\n",
"- **Interface** โ The operations an ADT promises to support. Other code relies only on the interface.\n",
"- **Intersection (sets)** โ The elements common to two sets. Written `a & b`.\n",
"- **Key** โ The label used to look up a value in a dictionary. Must be unique within that dictionary.\n",
"- **List** โ An ordered, changeable collection of items. Written with `[ ]`.\n",
"- **List of dictionaries** โ The standard shape for tabular real-world data: one dict per row, one key per column.\n",
"- **Mutable** โ Can be changed after it is created. Lists, dicts, and sets are mutable.\n",
"- **`None`** โ Python's built-in \"nothing here\" value. Returned by `d.get(key)` when the key is missing.\n",
"- **Queue** โ A collection where items are added at the back and removed from the front: first in, first out.\n",
"- **Set** โ An unordered collection with no duplicates. Written with `{ }` (no colons).\n",
"- **Slice** โ A sub-range of a list, written `list[start:stop]`, producing a new list.\n",
"- **Tuple** โ An ordered, **immutable** collection. Written with `( )`.\n",
"- **Union (sets)** โ All elements that appear in either set. Written `a | b`.\n",
"- **Unpacking** โ Assigning the contents of a tuple (or list) to several variables in one statement.\n",
"- **Value** โ The data stored under a key in a dictionary. Any type is allowed."
]
},
{
"cell_type": "markdown",
"id": "d3c37085",
"metadata": {},
"source": [
"## Summary\n",
"\n",
"- **Pick by promise.** Lists are *ordered + changeable*. Tuples are *ordered + fixed*. Dictionaries are *labelled lookup*. Sets are *membership + uniqueness*. The decision table is the cheatsheet.\n",
"- **Watch for aliasing.** `b = a` makes a second name for the same list, not a copy. `a.copy()` (or a full slice) is the fix.\n",
"- **Real data is nested.** A *list of dictionaries* is the everyday shape โ one dict per row, one key per field.\n",
"- **Lookup style matters.** Walking a list grows slower as the list grows; a dictionary lookup stays fast. The seed of next-up Big O.\n",
"- **ADTs separate promise from storage.** Hide your storage behind methods and the rest of your program survives a redesign.\n",
"- **Comprehensions** turn a build-a-collection loop into one readable line."
]
},
{
"cell_type": "markdown",
"id": "ff938ef2",
"metadata": {},
"source": [
"## What's Next\n",
"\n",
"Functions packaged behaviour. Collections packaged data. **Notebook 6** packages them **together** โ methods *and* the data they work on, bundled into objects called **classes**. You've already met the idea in spirit: Hyde's queue was a promise (*add, next_customer, size*) sitting on top of a list. Next time we'll wrap exactly that kind of promise *and* its storage into a single object, on purpose."
]
},
{
"cell_type": "markdown",
"id": "15f5ccdd",
"metadata": {},
"source": [
"*COMP 1150 โ Computer Science Concepts ยท Brendan Shea, PhD*\n",
"*Content licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).*"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.9"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {
"08a57b27c6b445a8b79ffa5ec5a420e9": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "VBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "VBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "VBoxView",
"box_style": "",
"children": [
"IPY_MODEL_7114873097e54ae4881200a8cea7bf31",
"IPY_MODEL_94d7bbb596544f40bac8638f99ed49a4",
"IPY_MODEL_fa8fdd42fa4d4cd5bb91565fecc40628",
"IPY_MODEL_12c99d79d9614e50b7aa262852f950e9",
"IPY_MODEL_ced75ab86a6544b69544ba833246e67d",
"IPY_MODEL_8258209066e54d349c00f8bca9ede6bb"
],
"layout": "IPY_MODEL_689985f6e1884bb497b0879cc1424f4d",
"tabbable": null,
"tooltip": null
}
},
"0a800da996ad42dbbf17b1ab1157ea6d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": "100%"
}
},
"0b61c4afeb364badaadf3e68b0ef560b": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "DescriptionStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "DescriptionStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"description_width": ""
}
},
"0bcc675dee3149d8b220afbe36b93f3f": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_2043c9d06c014a63a73d2543c0a68e26",
"IPY_MODEL_08a57b27c6b445a8b79ffa5ec5a420e9"
],
"layout": "IPY_MODEL_0a800da996ad42dbbf17b1ab1157ea6d",
"tabbable": null,
"tooltip": null
}
},
"0eae7fdc0c474857ad3485d135bf9461": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"12c99d79d9614e50b7aa262852f950e9": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/output",
"_model_module_version": "1.0.0",
"_model_name": "OutputModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/output",
"_view_module_version": "1.0.0",
"_view_name": "OutputView",
"layout": "IPY_MODEL_750872fed1304512aa80fa838415f97a",
"msg_id": "",
"outputs": [],
"tabbable": null,
"tooltip": null
}
},
"13b612f654ea49dc97ee1017f14af0eb": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "TextareaModel",
"state": {
"_dom_classes": [
"code-input"
],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "TextareaModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "TextareaView",
"continuous_update": true,
"description": "",
"description_allow_html": false,
"disabled": false,
"layout": "IPY_MODEL_df3cbfabbd2541f089c8f426dc8d7d2d",
"placeholder": "โ",
"rows": null,
"style": "IPY_MODEL_951ad56d9d164644995222c4a2d376c5",
"tabbable": null,
"tooltip": null,
"value": "def first_item(items):\n pass"
}
},
"15e9739910374eeb88606137497b00bd": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"1a96e3b247c14fd693bd3c8f83747720": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"button_color": null,
"font_family": null,
"font_size": null,
"font_style": null,
"font_variant": null,
"font_weight": null,
"text_color": null,
"text_decoration": null
}
},
"1e46629030ac48e087ec798f739b4151": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": "50%"
}
},
"1e63673b46ad4eafb05a3c876e210b47": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"1f853cf0b27d4f43bfbe3cacac1f897d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"2043c9d06c014a63a73d2543c0a68e26": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "VBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "VBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "VBoxView",
"box_style": "",
"children": [
"IPY_MODEL_8f4aa2018a3b48cb8096f57f948eab43",
"IPY_MODEL_762f3cbd7ef649fda92b068032bf835f",
"IPY_MODEL_13b612f654ea49dc97ee1017f14af0eb",
"IPY_MODEL_4c6686d39a61425eb20ff6f3c627d4e0",
"IPY_MODEL_cd5bfe7e1564425d81318de727b9113c"
],
"layout": "IPY_MODEL_1e46629030ac48e087ec798f739b4151",
"tabbable": null,
"tooltip": null
}
},
"2a9eccb07f1740e3bb2184bd5d3f3f09": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"button_color": null,
"font_family": null,
"font_size": null,
"font_style": null,
"font_variant": null,
"font_weight": null,
"text_color": null,
"text_decoration": null
}
},
"3aea40147cdb45cb8f0fcbfd5d6f50df": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"3fb9531c4f7f441c9a471dc45055cae6": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ButtonView",
"button_style": "warning",
"description": "Retry",
"disabled": false,
"icon": "refresh",
"layout": "IPY_MODEL_15e9739910374eeb88606137497b00bd",
"style": "IPY_MODEL_a5c30c566b8e451abe58c69fda71d86a",
"tabbable": null,
"tooltip": null
}
},
"4a789174b692414888262bf610586acd": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ButtonView",
"button_style": "info",
"description": "Next",
"disabled": true,
"icon": "arrow-right",
"layout": "IPY_MODEL_fb8505087abb4f9983ab7cc153ca3529",
"style": "IPY_MODEL_c0b31d2cd0734672b0d79bd0ee9d9e3d",
"tabbable": null,
"tooltip": null
}
},
"4c6686d39a61425eb20ff6f3c627d4e0": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HBoxModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HBoxModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HBoxView",
"box_style": "",
"children": [
"IPY_MODEL_4fab9254ae894cf0b44ff76c70b8a12b",
"IPY_MODEL_b07dd126626f4f6daf1188e12148ed88",
"IPY_MODEL_4a789174b692414888262bf610586acd",
"IPY_MODEL_f6a9f10ccd0f4e168e2b39cba8399de7",
"IPY_MODEL_a24c0ccbf1e5423b9b4a30184f916447"
],
"layout": "IPY_MODEL_95f44ac737b74c5b974fde5538264a7d",
"tabbable": null,
"tooltip": null
}
},
"4fab9254ae894cf0b44ff76c70b8a12b": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ButtonView",
"button_style": "success",
"description": "Run",
"disabled": false,
"icon": "check",
"layout": "IPY_MODEL_c810204b667446268fbec53115fd503d",
"style": "IPY_MODEL_ed133772a6ca4521875c1de17bcdd1a6",
"tabbable": null,
"tooltip": null
}
},
"5c51c895ae524f89bfbba3d9915e6907": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"689985f6e1884bb497b0879cc1424f4d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": "50%"
}
},
"698c0d7965c9470e9e86286f7c9ffd23": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"button_color": null,
"font_family": null,
"font_size": null,
"font_style": null,
"font_variant": null,
"font_weight": null,
"text_color": null,
"text_decoration": null
}
},
"6a2e255e0cd94898b0c227047273b124": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ButtonView",
"button_style": "info",
"description": "Next",
"disabled": true,
"icon": "arrow-right",
"layout": "IPY_MODEL_1e63673b46ad4eafb05a3c876e210b47",
"style": "IPY_MODEL_2a9eccb07f1740e3bb2184bd5d3f3f09",
"tabbable": null,
"tooltip": null
}
},
"70337fc8dee447d8a985b01a91cc9148": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"7114873097e54ae4881200a8cea7bf31": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_789247a4c9a4408e8645cf42554bd99e",
"placeholder": "โ",
"style": "IPY_MODEL_d7d44f4f5d044617ae44f89a854d2357",
"tabbable": null,
"tooltip": null,
"value": "Sample Inputs and Outputs
"
}
},
"729ad17de2274ace97d4a2bb1c44e8a7": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": "100%"
}
},
"73a9c9c9a5134b48a52659839246dbcc": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"750872fed1304512aa80fa838415f97a": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"762f3cbd7ef649fda92b068032bf835f": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/output",
"_model_module_version": "1.0.0",
"_model_name": "OutputModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/output",
"_view_module_version": "1.0.0",
"_view_name": "OutputView",
"layout": "IPY_MODEL_73a9c9c9a5134b48a52659839246dbcc",
"msg_id": "",
"outputs": [
{
"data": {
"text/html": "Question 1/18
Return the first element of the list. first_item(['a','b','c']) โ 'a'.
",
"text/plain": ""
},
"metadata": {},
"output_type": "display_data"
}
],
"tabbable": null,
"tooltip": null
}
},
"789247a4c9a4408e8645cf42554bd99e": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"8258209066e54d349c00f8bca9ede6bb": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/output",
"_model_module_version": "1.0.0",
"_model_name": "OutputModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/output",
"_view_module_version": "1.0.0",
"_view_name": "OutputView",
"layout": "IPY_MODEL_1f853cf0b27d4f43bfbe3cacac1f897d",
"msg_id": "",
"outputs": [],
"tabbable": null,
"tooltip": null
}
},
"8926e5e2ce264b9e9c00ab58a12b1d98": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"8ba75cd2e39c4b2885b83b3536e604c1": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": "200px"
}
},
"8d1366b2f2354c138878e65ab85edc30": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ProgressStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ProgressStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"bar_color": null,
"description_width": ""
}
},
"8f4aa2018a3b48cb8096f57f948eab43": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "IntProgressModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "IntProgressModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ProgressView",
"bar_style": "",
"description": "Progress:",
"description_allow_html": false,
"layout": "IPY_MODEL_729ad17de2274ace97d4a2bb1c44e8a7",
"max": 18,
"min": 0,
"orientation": "horizontal",
"style": "IPY_MODEL_8d1366b2f2354c138878e65ab85edc30",
"tabbable": null,
"tooltip": null,
"value": 0
}
},
"94d7bbb596544f40bac8638f99ed49a4": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/output",
"_model_module_version": "1.0.0",
"_model_name": "OutputModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/output",
"_view_module_version": "1.0.0",
"_view_name": "OutputView",
"layout": "IPY_MODEL_a1bab82735624636b012588927efbe8e",
"msg_id": "",
"outputs": [
{
"data": {
"text/html": "\n \n \n | Input | \n Output | \n
\n \n \n \n | [['a', 'b', 'c']] | \n 'a' | \n
\n \n | [[1, 2, 3]] | \n 1 | \n
\n \n | [[42]] | \n 42 | \n
\n \n
",
"text/plain": ""
},
"metadata": {},
"output_type": "display_data"
}
],
"tabbable": null,
"tooltip": null
}
},
"951ad56d9d164644995222c4a2d376c5": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "TextStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "TextStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"95f44ac737b74c5b974fde5538264a7d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"a1bab82735624636b012588927efbe8e": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"a24c0ccbf1e5423b9b4a30184f916447": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "DropdownModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "DropdownModel",
"_options_labels": [
"Problem 1",
"Problem 2",
"Problem 3",
"Problem 4",
"Problem 5",
"Problem 6",
"Problem 7",
"Problem 8",
"Problem 9",
"Problem 10",
"Problem 11",
"Problem 12",
"Problem 13",
"Problem 14",
"Problem 15",
"Problem 16",
"Problem 17",
"Problem 18"
],
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "DropdownView",
"description": "Skip to:",
"description_allow_html": false,
"disabled": false,
"index": 0,
"layout": "IPY_MODEL_8ba75cd2e39c4b2885b83b3536e604c1",
"style": "IPY_MODEL_0b61c4afeb364badaadf3e68b0ef560b",
"tabbable": null,
"tooltip": null
}
},
"a5c30c566b8e451abe58c69fda71d86a": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"button_color": null,
"font_family": null,
"font_size": null,
"font_style": null,
"font_variant": null,
"font_weight": null,
"text_color": null,
"text_decoration": null
}
},
"b07dd126626f4f6daf1188e12148ed88": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ButtonView",
"button_style": "warning",
"description": "Retry",
"disabled": false,
"icon": "refresh",
"layout": "IPY_MODEL_70337fc8dee447d8a985b01a91cc9148",
"style": "IPY_MODEL_698c0d7965c9470e9e86286f7c9ffd23",
"tabbable": null,
"tooltip": null
}
},
"c0b31d2cd0734672b0d79bd0ee9d9e3d": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"button_color": null,
"font_family": null,
"font_size": null,
"font_style": null,
"font_variant": null,
"font_weight": null,
"text_color": null,
"text_decoration": null
}
},
"c7921460d9894dc19418ca3d7fd1ae22": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"c810204b667446268fbec53115fd503d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
},
"cd5bfe7e1564425d81318de727b9113c": {
"model_module": "@jupyter-widgets/output",
"model_module_version": "1.0.0",
"model_name": "OutputModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/output",
"_model_module_version": "1.0.0",
"_model_name": "OutputModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/output",
"_view_module_version": "1.0.0",
"_view_name": "OutputView",
"layout": "IPY_MODEL_0eae7fdc0c474857ad3485d135bf9461",
"msg_id": "",
"outputs": [],
"tabbable": null,
"tooltip": null
}
},
"ced75ab86a6544b69544ba833246e67d": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_8926e5e2ce264b9e9c00ab58a12b1d98",
"placeholder": "โ",
"style": "IPY_MODEL_c7921460d9894dc19418ca3d7fd1ae22",
"tabbable": null,
"tooltip": null,
"value": "Output
"
}
},
"d7d44f4f5d044617ae44f89a854d2357": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"df3cbfabbd2541f089c8f426dc8d7d2d": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": "200px",
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": "100%"
}
},
"ed133772a6ca4521875c1de17bcdd1a6": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"button_color": null,
"font_family": null,
"font_size": null,
"font_style": null,
"font_variant": null,
"font_weight": null,
"text_color": null,
"text_decoration": null
}
},
"f407c53ea07b4ea096c7f6f0b918f8eb": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLStyleModel",
"state": {
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLStyleModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "StyleView",
"background": null,
"description_width": "",
"font_size": null,
"text_color": null
}
},
"f6a9f10ccd0f4e168e2b39cba8399de7": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "ButtonModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "ButtonModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "ButtonView",
"button_style": "primary",
"description": "Show Hint",
"disabled": false,
"icon": "lightbulb-o",
"layout": "IPY_MODEL_3aea40147cdb45cb8f0fcbfd5d6f50df",
"style": "IPY_MODEL_1a96e3b247c14fd693bd3c8f83747720",
"tabbable": null,
"tooltip": null
}
},
"fa8fdd42fa4d4cd5bb91565fecc40628": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "2.0.0",
"model_name": "HTMLModel",
"state": {
"_dom_classes": [],
"_model_module": "@jupyter-widgets/controls",
"_model_module_version": "2.0.0",
"_model_name": "HTMLModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/controls",
"_view_module_version": "2.0.0",
"_view_name": "HTMLView",
"description": "",
"description_allow_html": false,
"layout": "IPY_MODEL_5c51c895ae524f89bfbba3d9915e6907",
"placeholder": "โ",
"style": "IPY_MODEL_f407c53ea07b4ea096c7f6f0b918f8eb",
"tabbable": null,
"tooltip": null,
"value": "Results
"
}
},
"fb8505087abb4f9983ab7cc153ca3529": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "2.0.0",
"model_name": "LayoutModel",
"state": {
"_model_module": "@jupyter-widgets/base",
"_model_module_version": "2.0.0",
"_model_name": "LayoutModel",
"_view_count": null,
"_view_module": "@jupyter-widgets/base",
"_view_module_version": "2.0.0",
"_view_name": "LayoutView",
"align_content": null,
"align_items": null,
"align_self": null,
"border_bottom": null,
"border_left": null,
"border_right": null,
"border_top": null,
"bottom": null,
"display": null,
"flex": null,
"flex_flow": null,
"grid_area": null,
"grid_auto_columns": null,
"grid_auto_flow": null,
"grid_auto_rows": null,
"grid_column": null,
"grid_gap": null,
"grid_row": null,
"grid_template_areas": null,
"grid_template_columns": null,
"grid_template_rows": null,
"height": null,
"justify_content": null,
"justify_items": null,
"left": null,
"margin": null,
"max_height": null,
"max_width": null,
"min_height": null,
"min_width": null,
"object_fit": null,
"object_position": null,
"order": null,
"overflow": null,
"padding": null,
"right": null,
"top": null,
"visibility": null,
"width": null
}
}
},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}