Skip to content

Commit 19c56f1

Browse files
committed
add learning objectives
1 parent db412c0 commit 19c56f1

File tree

2 files changed

+30
-26
lines changed

2 files changed

+30
-26
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ In the past few lessons, we have learned about working with different types of d
88
In this lesson we'll imagine that you just stopped by an Python programming conference and met a few people there. You exchanged some information with a very industrious person who you met, and want to use your programming skills to format this information correctly.
99

1010
### Learning Objectives
11+
* Manipulate strings with built-in methods
12+
* Practice coercing data types and changing numbers
1113

1214
### Here to mingle
1315

@@ -80,7 +82,7 @@ First use the `title` method to capitalize the first letter of each word in "art
8082

8183

8284

83-
'Art Vandelay'
85+
'art vandelay'
8486

8587

8688

@@ -94,11 +96,11 @@ Now let's uppercase all of the letters of "Ceo".
9496

9597

9698

97-
'CEO'
99+
'Ceo'
98100

99101

100102

101-
Now write a method that get answer a question about our email addresses. Every email address should end with ".com". Use your knowledge of string methods to check if the email address ends with ".com" and return `True` or `False` accordingly.
103+
Now write a method that answers a question about our email addresses. Every email address should end with ".com". Use your knowledge of string methods to check if the email address ends with ".com" and return `True` or `False` accordingly.
102104

103105

104106
```python

index.ipynb

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
"cell_type": "markdown",
2828
"metadata": {},
2929
"source": [
30-
"### Learning Objectives"
30+
"### Learning Objectives\n",
31+
"* Manipulate strings with built-in methods\n",
32+
"* Practice coercing data types and changing numbers"
3133
]
3234
},
3335
{
@@ -76,7 +78,7 @@
7678
},
7779
{
7880
"cell_type": "code",
79-
"execution_count": 3,
81+
"execution_count": 1,
8082
"metadata": {},
8183
"outputs": [
8284
{
@@ -85,7 +87,7 @@
8587
"'art vandelay'"
8688
]
8789
},
88-
"execution_count": 3,
90+
"execution_count": 1,
8991
"metadata": {},
9092
"output_type": "execute_result"
9193
}
@@ -103,7 +105,7 @@
103105
},
104106
{
105107
"cell_type": "code",
106-
"execution_count": 8,
108+
"execution_count": 2,
107109
"metadata": {},
108110
"outputs": [
109111
{
@@ -112,7 +114,7 @@
112114
"'hello'"
113115
]
114116
},
115-
"execution_count": 8,
117+
"execution_count": 2,
116118
"metadata": {},
117119
"output_type": "execute_result"
118120
}
@@ -145,7 +147,7 @@
145147
},
146148
{
147149
"cell_type": "code",
148-
"execution_count": 1,
150+
"execution_count": 3,
149151
"metadata": {},
150152
"outputs": [
151153
{
@@ -154,7 +156,7 @@
154156
"'ART VANDELAY'"
155157
]
156158
},
157-
"execution_count": 1,
159+
"execution_count": 3,
158160
"metadata": {},
159161
"output_type": "execute_result"
160162
}
@@ -179,16 +181,16 @@
179181
},
180182
{
181183
"cell_type": "code",
182-
"execution_count": 15,
184+
"execution_count": 4,
183185
"metadata": {},
184186
"outputs": [
185187
{
186188
"data": {
187189
"text/plain": [
188-
"'Art Vandelay'"
190+
"'art vandelay'"
189191
]
190192
},
191-
"execution_count": 15,
193+
"execution_count": 4,
192194
"metadata": {},
193195
"output_type": "execute_result"
194196
}
@@ -206,16 +208,16 @@
206208
},
207209
{
208210
"cell_type": "code",
209-
"execution_count": 19,
211+
"execution_count": 5,
210212
"metadata": {},
211213
"outputs": [
212214
{
213215
"data": {
214216
"text/plain": [
215-
"'CEO'"
217+
"'Ceo'"
216218
]
217219
},
218-
"execution_count": 19,
220+
"execution_count": 5,
219221
"metadata": {},
220222
"output_type": "execute_result"
221223
}
@@ -228,12 +230,12 @@
228230
"cell_type": "markdown",
229231
"metadata": {},
230232
"source": [
231-
"Now write a method that get answer a question about our email addresses. Every email address should end with \".com\". Use your knowledge of string methods to check if the email address ends with \".com\" and return `True` or `False` accordingly. "
233+
"Now write a method that answers a question about our email addresses. Every email address should end with \".com\". Use your knowledge of string methods to check if the email address ends with \".com\" and return `True` or `False` accordingly. "
232234
]
233235
},
234236
{
235237
"cell_type": "code",
236-
"execution_count": 2,
238+
"execution_count": 6,
237239
"metadata": {},
238240
"outputs": [
239241
{
@@ -242,7 +244,7 @@
242244
"'art.vandelay@vandelay.cop'"
243245
]
244246
},
245-
"execution_count": 2,
247+
"execution_count": 6,
246248
"metadata": {},
247249
"output_type": "execute_result"
248250
}
@@ -260,7 +262,7 @@
260262
},
261263
{
262264
"cell_type": "code",
263-
"execution_count": 3,
265+
"execution_count": 7,
264266
"metadata": {
265267
"scrolled": true
266268
},
@@ -271,7 +273,7 @@
271273
"'vandelay.com'"
272274
]
273275
},
274-
"execution_count": 3,
276+
"execution_count": 7,
275277
"metadata": {},
276278
"output_type": "execute_result"
277279
}
@@ -296,7 +298,7 @@
296298
},
297299
{
298300
"cell_type": "code",
299-
"execution_count": 4,
301+
"execution_count": 8,
300302
"metadata": {},
301303
"outputs": [
302304
{
@@ -305,7 +307,7 @@
305307
"'7285553334'"
306308
]
307309
},
308-
"execution_count": 4,
310+
"execution_count": 8,
309311
"metadata": {},
310312
"output_type": "execute_result"
311313
}
@@ -316,7 +318,7 @@
316318
},
317319
{
318320
"cell_type": "code",
319-
"execution_count": 5,
321+
"execution_count": 9,
320322
"metadata": {},
321323
"outputs": [
322324
{
@@ -325,7 +327,7 @@
325327
"'7285553334'"
326328
]
327329
},
328-
"execution_count": 5,
330+
"execution_count": 9,
329331
"metadata": {},
330332
"output_type": "execute_result"
331333
}
@@ -365,7 +367,7 @@
365367
"name": "python",
366368
"nbconvert_exporter": "python",
367369
"pygments_lexer": "ipython3",
368-
"version": "3.6.1"
370+
"version": "3.6.4"
369371
}
370372
},
371373
"nbformat": 4,

0 commit comments

Comments
 (0)