Skip to content

Commit 9475f27

Browse files
committed
Testing details and summary tags
1 parent 931f566 commit 9475f27

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Python Lessons/Python Lesson 1.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@
649649
"\n",
650650
"Now that we've asked the user for their name and some information, let's add some dice rolls to that code. \n",
651651
"\n",
652-
"There's a new structure for exercises here: a short description of the desired outcome, and if you get stuck there's a step-by-step cell collapsed below.\n",
652+
"There's a new structure for exercises here: a short description of the desired outcome, and if you get stuck there's a step-by-step cell collapsed below. (just click the 'Step-by-Step' dropdown below this cell).\n",
653653
"\n",
654654
"Roll some dice and do something with the results of these dice. What you do is up to you!\n",
655655
"\n",
@@ -663,15 +663,16 @@
663663
"cell_type": "markdown",
664664
"metadata": {},
665665
"source": [
666-
"Step-by-Step\n",
666+
"<details><summary>Step-by-Step</summary>\n",
667667
"\n",
668668
"1) In three separate variables, store three random integers. \n",
669-
"2) Display the results of these rolls. Then add the results together and display that too.\n",
669+
"2) Display the results of these rolls. Then add the rolls together and display that total too.\n",
670670
"\n",
671671
"Extension\n",
672672
"\n",
673673
"1) Take the user input, convert it to an integer and use it as an argument in randint(). \n",
674-
"2) The average is the sum of the rolls divided by how many there are."
674+
"2) The average is the sum of the rolls divided by how many there are.\n",
675+
"</details>"
675676
]
676677
},
677678
{

0 commit comments

Comments
 (0)