Skip to content

Commit 10d05d5

Browse files
committed
Changed breakout exercise for 1a.
1 parent 8445ac3 commit 10d05d5

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

notebooks/1a_python1.ipynb

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@
512512
"name": "stdout",
513513
"output_type": "stream",
514514
"text": [
515-
"2020-05-28 13:48:05.981995\n"
515+
"2020-05-28 13:55:57.883677\n"
516516
]
517517
}
518518
],
@@ -552,7 +552,7 @@
552552
"name": "stdout",
553553
"output_type": "stream",
554554
"text": [
555-
"2019-05-29 13:48:05.981995\n"
555+
"2019-05-29 13:55:57.883677\n"
556556
]
557557
}
558558
],
@@ -877,10 +877,9 @@
877877
"source": [
878878
"## EX2: strings\n",
879879
"\n",
880-
"1. Create a string containing `HI! CAPS LOCK IS CRUISE CONTROL FOR COOL` and assign it to the name `z_string`.\n",
881-
"1. Display that string in all lower case (but without changing the object itself).\n",
882-
"1. Display the original string, verifying that the last step didn't change it.\n",
883-
"1. Assign `z_string` to the lowercase version of the string, changing the object that `z_string` refers to."
880+
"1. Create a string containing `Hello, World!` and assign it to the name `z_string`.\n",
881+
"1. Take `z_string` and add (using `+`) the string ` I'm [yourname].` to it (filling in your name).\n",
882+
"1. Display the original string, verifying that the last step didn't change it."
884883
]
885884
},
886885
{
@@ -910,15 +909,6 @@
910909
"# 2-3 code\n"
911910
]
912911
},
913-
{
914-
"cell_type": "code",
915-
"execution_count": 40,
916-
"metadata": {},
917-
"outputs": [],
918-
"source": [
919-
"# 2-4 code\n"
920-
]
921-
},
922912
{
923913
"cell_type": "markdown",
924914
"metadata": {},
@@ -930,12 +920,12 @@
930920
"\n",
931921
"1. Assign `z_dict` to a dictionary with the key `'name'` and a value of the name of the breakout room member who is screen sharing.\n",
932922
"1. Update the dictionary with another key `'affil'` and a value of the affiliation of the breakout room member who is screen sharing.\n",
933-
"1. Use the indexing syntax to retrieve the value corresponding with the key `affil`."
923+
"1. Use the indexing syntax to retrieve the value corresponding with the key `'affil'`."
934924
]
935925
},
936926
{
937927
"cell_type": "code",
938-
"execution_count": 41,
928+
"execution_count": 40,
939929
"metadata": {},
940930
"outputs": [],
941931
"source": [
@@ -944,7 +934,7 @@
944934
},
945935
{
946936
"cell_type": "code",
947-
"execution_count": 42,
937+
"execution_count": 41,
948938
"metadata": {},
949939
"outputs": [],
950940
"source": [
@@ -953,7 +943,7 @@
953943
},
954944
{
955945
"cell_type": "code",
956-
"execution_count": 43,
946+
"execution_count": 42,
957947
"metadata": {},
958948
"outputs": [],
959949
"source": [

0 commit comments

Comments
 (0)