diff --git a/_projects/lessons/java/notebooks/2025-09-21-2.2.ipynb b/_projects/lessons/java/notebooks/2025-09-21-2.2.ipynb index 51741895ad..49a48aa5df 100644 --- a/_projects/lessons/java/notebooks/2025-09-21-2.2.ipynb +++ b/_projects/lessons/java/notebooks/2025-09-21-2.2.ipynb @@ -17,6 +17,7 @@ "lesson_part: interactive\n", "lesson_type: lesson\n", "toc: true\n", + "codemirror: true\n", "title: Boolean Expressions\n", "menu: nav/csa_units/csaunit2.html\n", "permalink: /csa/unit_02/2_2\n", @@ -38,7 +39,9 @@ "| `<` | less than |\n", "| `>` | greater than |\n", "| `<=` | less than or equal to |\n", - "| `>=` | greater than or equal to |" + "| `>=` | greater than or equal to |\n", + "\n", + "Run it yourself below." ] }, { @@ -51,12 +54,18 @@ }, "outputs": [], "source": [ - "int score = 85;\n", + "// CODE_RUNNER: Boolean Expressions - Try It\n", + "public class Main {\n", + " public static void main(String[] args) {\n", + " int score = 85;\n", "\n", - "System.out.println(score == 85); // true\n", - "System.out.println(score != 100); // true\n", - "System.out.println(score > 90); // false\n", - "System.out.println(score <= 85); // true" + " System.out.println(score == 85); // true\n", + " System.out.println(score != 100); // true\n", + " System.out.println(score > 90); // false\n", + " System.out.println(score <= 85); // true\n", + " }\n", + "}\n", + "Main.main(null);" ] }, { @@ -112,10 +121,16 @@ }, "outputs": [], "source": [ - "int temp = 72;\n", - "System.out.println(temp >= 70);\n", - "System.out.println(temp == 72.0);\n", - "System.out.println(temp < 32);" + "// CODE_RUNNER: Popcorn Hack 1 - Predict the Output\n", + "public class Main {\n", + " public static void main(String[] args) {\n", + " int temp = 72;\n", + " System.out.println(temp >= 70);\n", + " System.out.println(temp == 72.0);\n", + " System.out.println(temp < 32);\n", + " }\n", + "}\n", + "Main.main(null);" ] }, { @@ -123,7 +138,7 @@ "metadata": {}, "source": [ "### Popcorn Hack 2\n", - "Find and fix the 2 errors in this Boolean expression." + "Find and fix the 2 errors in this Boolean expression, then run it until it works." ] }, { @@ -136,9 +151,66 @@ }, "outputs": [], "source": [ - "int number = 4;\n", - "boolean isEven = number % 2 = 0;\n", - "System.out.println(isEven)" + "// CODE_RUNNER: Popcorn Hack 2 - Fix the Bug\n", + "public class Main {\n", + " public static void main(String[] args) {\n", + " int number = 4;\n", + " boolean isEven = number % 2 = 0;\n", + " System.out.println(isEven)\n", + " }\n", + "}\n", + "Main.main(null);" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
Show fixed code\n", + "
int number = 4;\n",
+    "boolean isEven = number % 2 == 0;\n",
+    "System.out.println(isEven);
\n", + "
" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Try It Yourself\n", + "Change `false` below to a Boolean expression using `age` and a relational operator, so `canJoinClub` is only `true` when `age` is 13 or older. Run it, then edit `age` to test 12, 13, and 100." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "vscode": { + "languageId": "java" + } + }, + "outputs": [], + "source": [ + "// CODE_RUNNER: Try It Yourself - Age Check\n", + "public class Main {\n", + " public static void main(String[] args) {\n", + " int age = 16;\n", + "\n", + " boolean canJoinClub = false; // TODO: use age and a relational operator\n", + "\n", + " System.out.println(canJoinClub);\n", + " }\n", + "}\n", + "Main.main(null);" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "
Show one possible answer\n", + "
boolean canJoinClub = age >= 13;
\n", + "
" ] }, { @@ -154,10 +226,8 @@ "
Show answerB \u2014 != is false when both sides are equal.
\n", "\n", "**2.**\n", - "```java\n", - "int x = 5, y = 10;\n", - "System.out.println(x <= y);\n", - "```\n", + "
int x = 5, y = 10;\n",
+    "System.out.println(x <= y);
\n", "What is printed?\n", "A) `5` B) `10` C) `true` D) `false`\n", "\n", diff --git a/_projects/lessons/java/notebooks/2025-09-21-2.4.ipynb b/_projects/lessons/java/notebooks/2025-09-21-2.4.ipynb index 0b31921f98..f2ec28dcfa 100644 --- a/_projects/lessons/java/notebooks/2025-09-21-2.4.ipynb +++ b/_projects/lessons/java/notebooks/2025-09-21-2.4.ipynb @@ -17,105 +17,213 @@ "lesson_part: interactive\n", "lesson_type: lesson\n", "toc: true\n", + "codemirror: true\n", "title: Nested `if` Statements\n", "menu: nav/csa_units/csaunit2.html\n", "permalink: /csa/unit_02/2_4\n", "---" - ] + ], + "id": "nested-if-00" }, { "cell_type": "markdown", "metadata": {}, - "source": [ - "# 3.4 Else If Statements \n", - "Else If Statements: Used when you have multiple conditions that need to be checked sequentially.\n", - "\n", - "Flow of Execution: Each condition is evaluated in the order written. The first true condition's code runs, and the rest are skipped.\n", - "\n", - "Structure:\n", - "\n", - "- Start with a single if statement.\n", - "- Follow with as many else if statements as needed.\n", - "- Optionally end with one else to handle any remaining cases.\n", - "Key Concept: The order of conditions matters. More specific conditions should come before broader ones to ensure accurate results.\n" - ] + "source": "## The Core Rule\n\nAn `else if` chain evaluates conditions **top to bottom** and runs only the code under the *first* one that is true — every later branch is skipped, even one that would also be true on its own. Order is part of the logic, not just style.\n\n**Learning objective:** Trace and write `if / else if / else` decision chains to determine which single branch executes for a given input.\n\n**Success criteria — I can:**\n- Trace which branch of an `else if` chain runs for a given input.\n- Explain why only one branch in the chain executes, even when more than one condition would be true on its own.\n- Write my own `else if` chain that classifies a value into categories.\n\n*(Engage: predict the output below before you run it — this takes under five minutes.)*", + "id": "nested-if-01" }, { "cell_type": "code", - "execution_count": 17, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Current age: 17\n", - "You are old enough for a license to drive.\n" - ] - } - ], - "source": [ - "int myAge = 17; // adjust the age too see the difference in what it prints out\n", - "System.out.println(\"Current age: \" + myAge);\n", - "if (myAge >= 18) \n", - "{\n", - " System.out.println(\"You can registar to vote.\");\n", - " System.out.println(\"You are old enough for a license to drive.\");\n", - "}\n", - "else if (myAge >= 16) {\n", - " System.out.println(\"You are old enough for a license to drive.\");\n", - "} \n", - "else if (myAge >= 15) {\n", - " System.out.println(\"You can learn to drive a car.\");\n", - "}\n", - "else if (myAge >= 14) {\n", - " System.out.println(\"You are 14\");\n", - "}" - ] + "metadata": {}, + "source": "// CODE_RUNNER: Predict the output for myAge = 17, then change myAge and rerun.\npublic class Main {\n public static void main(String[] args) {\n int myAge = 17; // adjust the age to see the difference in what it prints out\n System.out.println(\"Current age: \" + myAge);\n if (myAge >= 18)\n {\n System.out.println(\"You can register to vote.\");\n System.out.println(\"You are old enough for a license to drive.\");\n }\n else if (myAge >= 16) {\n System.out.println(\"You are old enough for a license to drive.\");\n }\n else if (myAge >= 15) {\n System.out.println(\"You can learn to drive a car.\");\n }\n else if (myAge >= 14) {\n System.out.println(\"You are 14\");\n }\n }\n}\n\nMain.main(null);", + "execution_count": null, + "outputs": [], + "id": "nested-if-02" }, { "cell_type": "markdown", "metadata": {}, - "source": [ - "## Raise your hand: \n", - "1. If I was 19 what would it print out?\n", - "2. If I was 13 what would it print out?" - ] + "source": "### Reference Guide\n\n#### Chain Evaluation Rules\n\n| Rule | What it means |\n|---|---|\n| Order matters | The first true condition runs; everything after it is skipped, even a later condition that is also true. |\n| Put the narrowest condition first | A broad condition (like `age >= 0`) placed early will \"shadow\" — permanently hide — a narrower condition placed after it. |\n| `else` is an optional catch-all | It runs only when every condition above it was false; it does not need its own condition. |\n| Only one branch's body runs | Even though multiple `if`/`else if` conditions might independently be true, the chain stops at the first match. |\n\n#### Common Nested-If Mistakes\n\n| Mistake | Why it breaks |\n|---|---|\n| Writing the broadest range first | e.g. checking `score >= 60` before `score >= 90` means no student can ever reach the `90` branch. |\n| Forgetting `else` and repeating the same variable in separate, un-chained `if` statements | Removes the \"only one branch runs\" guarantee — now more than one block can execute. |\n| Assuming Java checks every condition | Java stops at the first `true` — later conditions are never even evaluated. |", + "id": "nested-if-03" }, { "cell_type": "markdown", "metadata": {}, - "source": [ - "## Popcorn Hack \n", - "Add more statements to make the code print out an \"F\" and \"C\"" - ] + "source": "-----", + "id": "nested-if-04" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "## 1. LxD Cycle Process\n\n**Empathize:** A lot of students coming out of 2.3 (single `if`) assume Java checks *every* condition in a chain, the way they'd read a checklist, instead of stopping at the first true one. They're often surprised when only one message prints even though two of their conditions are technically true.\n\n**Define:**\n\n- **POV:** A student who can already write a single `if` needs to see that only one branch in an `else if` chain runs, so they can predict output correctly instead of guessing.\n- **Learning Goal:** Students will trace and write `else if` chains, correctly identifying which single branch executes and why condition order changes the result.\n\n**Ideate:**\n\n- **HMW Question:** How might we make \"only one branch runs, and order decides which one\" visible before students hit it as a bug in their own code?\n- **Activity:** Predict-then-run on the age-eligibility example, then apply the same pattern to a grading example and a deliberately mis-ordered shipping-tier example that shows the shadowing bug live.\n\n**Prototype & Test:** Prototype below (Code Examples A–C, Popcorn Hack, Homework Hack). Test evidence and the resulting revision are recorded in section 5 after this lesson is taught.", + "id": "nested-if-05" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "-----", + "id": "nested-if-06" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "## 2. Lesson Plan\n\n**Learning Objective:** By the end of this lesson, you will be able to trace and write `if / else if / else` decision chains, correctly identifying which single branch executes for a given input and explaining why condition order can change the result.\n\n**Success Criteria:** Given an `else if` chain and an input value, you can state which single branch runs and why every other branch is skipped — and you can reorder a mis-ordered chain so a shadowed branch becomes reachable.", + "id": "nested-if-07" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "### Tech Talk (3 minutes)\n\n**Else if statements** let you check multiple conditions in sequence when only one outcome should apply.\n\n- **The Rule:** each condition is evaluated in the order written; the first true condition's code runs, and the rest — even ones that are also true — are skipped.\n- ✅ **Do this:** put the narrowest, most specific condition first (`age >= 18` before `age >= 16`).\n- ❌ **Don't do this:** put a broad condition first (`age >= 0` before `age >= 18`) — it will shadow every narrower condition below it.\n\nWhy do we do this? On the AP exam and in real code, a chain that \"looks right\" can silently return the wrong branch if the conditions are in the wrong order — there's no error message, just a wrong answer.\n\n### Raise your hand:\n1. If I was 19, what would it print out?\n2. If I was 13, what would it print out?", + "id": "nested-if-08" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "### Where else do you see this?\n\nA backend API has to pick exactly one response for a request — it can't return `200 OK` *and* `404 Not Found` for the same call. That's the same \"first true condition wins\" shape as an `else if` chain: check the most specific problem first (does the item exist?), then broader ones, and let one final `else` catch everything else.", + "id": "nested-if-09" }, { "cell_type": "code", - "execution_count": 16, "metadata": {}, + "source": "if (item == null) {\n return notFound(); // most specific: does it exist at all?\n}\nelse if (quantity > maxAllowed) {\n return badRequest(); // narrower rule checked before the general case\n}\nelse {\n return ok(item); // catch-all: nothing above matched\n}", + "execution_count": null, "outputs": [], - "source": [ - "public class gradeEvaluator \n", - "{\n", - " public static void main(String[] args) \n", - " {\n", - " double myAverage = 90;\n", - " System.out.println(\"Current average: \" + myAverage);\n", - " if (myAverage >= 90)\n", - " {\n", - " System.out.println(\"You have \\\"A\\\" average.\");\n", - " }\n", - " \n", - " else if (myAverage >= 80)\n", - " { \n", - " System.out.println(\"You have an \\\"B\\\" average.\");\n", - " }\n", - " //add more letter grade options as needed\n", - " }\n", - "}\n", - " " - ] + "id": "nested-if-10" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "### Code Examples\n\n#### A. Simple: Classifying One Value into Non-Overlapping Bands", + "id": "nested-if-11" + }, + { + "cell_type": "code", + "metadata": {}, + "source": "public class TicketPrice {\n public static void main(String[] args) {\n int age = 8;\n\n if (age < 3) {\n System.out.println(\"Ticket price: free\");\n }\n else if (age <= 12) {\n System.out.println(\"Ticket price: $8 (child)\");\n }\n else if (age < 65) {\n System.out.println(\"Ticket price: $14 (adult)\");\n }\n else {\n System.out.println(\"Ticket price: $10 (senior)\");\n }\n }\n}\n\nTicketPrice.main(null);", + "execution_count": null, + "outputs": [], + "id": "nested-if-12" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "#### B. Intermediate: Why Condition Order Can Shadow a Branch\n\nBoth chains below test the exact same weight against the exact same three rules — only the *order* is different.", + "id": "nested-if-13" + }, + { + "cell_type": "code", + "metadata": {}, + "source": "public class ShippingTier {\n public static void main(String[] args) {\n double weight = 2.5; // pounds\n\n // WRONG ORDER: the broad \">= 0\" check shadows every narrower tier below it\n String wrongTier = \"\";\n if (weight >= 0) { wrongTier = \"standard\"; }\n else if (weight <= 1) { wrongTier = \"envelope\"; }\n else if (weight <= 5) { wrongTier = \"small box\"; }\n\n // CORRECT ORDER: narrowest, most specific condition goes first\n String rightTier = \"\";\n if (weight <= 1) { rightTier = \"envelope\"; }\n else if (weight <= 5) { rightTier = \"small box\"; }\n else if (weight >= 0) { rightTier = \"standard\"; }\n\n System.out.println(\"Wrong order -> \" + wrongTier); // standard, even though 2.5 lb fits \"small box\"\n System.out.println(\"Right order -> \" + rightTier); // small box\n }\n}\n\nShippingTier.main(null);", + "execution_count": null, + "outputs": [], + "id": "nested-if-14" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "Notice what makes this dangerous: `weight >= 0` is true for *every* package, so once it's checked first, none of the more specific branches below it can ever run. The chain still compiles, still prints an answer, and gives no error — it's just the wrong one.", + "id": "nested-if-15" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "#### C. Complex: `else if` Chain vs. `switch`\n\nBoth versions below decide a price from the exact same `size` variable. A `switch` is a good fit **only** when every branch tests one variable against exact, discrete values — it cannot express a range or inequality like `age >= 18`, which is why the age-eligibility and shipping-tier examples above have to stay as `else if` chains.", + "id": "nested-if-16" + }, + { + "cell_type": "code", + "metadata": {}, + "source": "public class SizePrice {\n public static void main(String[] args) {\n String size = \"L\";\n\n // Version 1: else-if chain -- works, but every branch re-checks the same variable for equality\n double priceIfChain;\n if (size.equals(\"S\")) { priceIfChain = 3.50; }\n else if (size.equals(\"M\")) { priceIfChain = 4.00; }\n else if (size.equals(\"L\")) { priceIfChain = 4.50; }\n else { priceIfChain = 5.00; } // \"XL\"\n System.out.println(\"if/else-if price: \" + priceIfChain);\n\n // Version 2: switch -- fits better here because every branch tests the SAME variable\n // against exact, discrete values (not a range/inequality like age or grade)\n double priceSwitch;\n switch (size) {\n case \"S\":\n priceSwitch = 3.50;\n break;\n case \"M\":\n priceSwitch = 4.00;\n break;\n case \"L\":\n priceSwitch = 4.50;\n break;\n default:\n priceSwitch = 5.00; // \"XL\"\n }\n System.out.println(\"switch price: \" + priceSwitch);\n }\n}\n\nSizePrice.main(null);", + "execution_count": null, + "outputs": [], + "id": "nested-if-17" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "-----", + "id": "nested-if-18" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "## 3. Hacks & Practice Tasks\n\n### Prepare Your Submission IPYNB\n\nComplete this quick-start flow so you can begin in about 2 minutes.\n\n1. Create a new notebook in your portfolio homework area: `_notebooks/homework`.\n2. Add one markdown cell at the top with the frontmatter below.\n3. Add one code cell for the Popcorn Hack and one for the Homework Hack. Keep the `CODE_RUNNER` comment as the first line of each code cell.\n4. Run every cell and read the printed output before you submit.", + "id": "nested-if-19" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "
---\nlayout: post\ntitle: Nested if / else if Statements HW\ncategories: [Java]\nlesson_language: Java\nlesson_topic: Nested If Statements HW\nlesson_part: interactive\nlesson_type: lesson\npermalink: /csa/unit_02/2_4/homework\nauthor: githubID\n---
", + "id": "nested-if-20" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "### Submission Safety Rules (Read First)\n\n> **Important.** To avoid grading errors, follow these rules exactly.\n>\n> - Submit working Java, not pseudocode and not a description of the chain.\n> - Keep `// CODE_RUNNER:` as the first line and `ClassName.main(null);` as the last line of every submission cell — both are required for the code to run on the page.\n> - Use only `if` / `else if` / `else` and the relational and logical operators from Units 2.1–2.3. No `switch`, no `Math` shortcuts.\n> - Order your conditions so every branch is actually reachable — a shadowed branch is an automatic deduction even if the code compiles and runs.\n> - Your program must print a result for every case the task asks you to test.", + "id": "nested-if-21" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "### Popcorn Hack (In-Class)\n\n> **Tip.** 2-minute challenge: predict, then run, then paste only your corrected code in chat.\n\nThe example below assigns a letter grade using the same `else if` pattern. Add more `else if` branches so the code also prints out an **\"F\"** and a **\"C\"**.", + "id": "nested-if-22" + }, + { + "cell_type": "code", + "metadata": {}, + "source": "// CODE_RUNNER: Add else if branches so the code also prints \"C\" and \"F\".\npublic class gradeEvaluator\n{\n public static void main(String[] args)\n {\n double myAverage = 90;\n System.out.println(\"Current average: \" + myAverage);\n if (myAverage >= 90)\n {\n System.out.println(\"You have \\\"A\\\" average.\");\n }\n\n else if (myAverage >= 80)\n {\n System.out.println(\"You have an \\\"B\\\" average.\");\n }\n //add more letter grade options as needed\n }\n}\n\ngradeEvaluator.main(null);", + "execution_count": null, + "outputs": [], + "id": "nested-if-23" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "### Homework Hack\n\n**Task:** Start from the age-eligibility example in the Quick Check above — that's your starting template. Add **one more `else if` branch** for `myAge >= 21` that prints `\"You can rent a car.\"`, placed correctly in the chain so it never gets shadowed by a broader condition.\n\nTurn in: your updated code, plus one sentence explaining where in the chain you placed the new branch and why.", + "id": "nested-if-24" + }, + { + "cell_type": "code", + "metadata": {}, + "source": "// CODE_RUNNER: Add an else if branch for myAge >= 21 that prints \"You can rent a car.\"\npublic class Main {\n public static void main(String[] args) {\n int myAge = 17; // change this to test each branch, including your new one\n System.out.println(\"Current age: \" + myAge);\n if (myAge >= 18)\n {\n System.out.println(\"You can register to vote.\");\n System.out.println(\"You are old enough for a license to drive.\");\n }\n else if (myAge >= 16) {\n System.out.println(\"You are old enough for a license to drive.\");\n }\n else if (myAge >= 15) {\n System.out.println(\"You can learn to drive a car.\");\n }\n else if (myAge >= 14) {\n System.out.println(\"You are 14\");\n }\n // TODO: add your new else if branch here\n }\n}\n\nMain.main(null);", + "execution_count": null, + "outputs": [], + "id": "nested-if-25" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "-----", + "id": "nested-if-26" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "## 4. Grading Plan (1 Point Total)\n\n### Classroom Rubric\n\n- **0.2 points: Popcorn completion** — Student added working \"C\" and \"F\" branches, correctly ordered so every branch is reachable, and kept the `CODE_RUNNER` comment.\n- **0.8 points: Homework completion**\n - **0.4 correctness:** The new `myAge >= 21` branch prints the correct message and is placed where it is never shadowed by a broader condition.\n - **0.3 completeness:** All original branches still run correctly, and the program still prints a result for every age tested.\n - **0.1 clarity:** The turned-in sentence correctly explains *why* the new branch was placed where it was (order/shadowing, not just \"it worked\").\n\n### Quick Validation Checklist\n\n- Present: `// CODE_RUNNER:` as the first line and `ClassName.main(null);` as the last line of each submission cell.\n- Present: `myAge >= 21` branch placed before any broader condition that would shadow it (or after every narrower one).\n- Absent: a `myAge >= 21` branch placed after `myAge >= 18`, where it would never run.\n- Present: a one-sentence explanation of the placement choice.", + "id": "nested-if-27" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "-----", + "id": "nested-if-28" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "## 5. Lesson Revisions & Feedback Evidence\n\n**Feedback Received:** _(Fill in after teaching this: what did a peer or student get wrong when predicting output, or where did they place a branch incorrectly?)_\n\n**Revision Made:** _(Fill in: what you changed in the lesson or examples as a result, and how you confirmed the fix helped.)_", + "id": "nested-if-29" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "-----\n\n## Submit Assignment\n\n### Once you've finished the lesson and run/written all the hacks in a notebook, submit here\n\nHomework\n\n[Submission Form](REPLACE_WITH_YOUR_SUBMISSION_FORM_LINK)\n\nNeed to update a submission later? Open the submissions dashboard.", + "id": "nested-if-30" + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": "-----\n\n## Resources\n\n[AP Classroom](https://apstudents.collegeboard.org/courses/ap-computer-science-a)\n\n[CED Nested if / else if section](https://apcentral.collegeboard.org/media/pdf/ap-computer-science-a-course-and-exam-description.pdf)\n\n[Oracle: The if-then and if-then-else Statements](https://docs.oracle.com/javase/tutorial/java/nutsandbolts/if.html)", + "id": "nested-if-31" } ], "metadata": { @@ -134,5 +242,5 @@ } }, "nbformat": 4, - "nbformat_minor": 2 + "nbformat_minor": 5 }