Skip to content

Commit 9e09034

Browse files
committed
remove answers
1 parent b2a44e4 commit 9e09034

File tree

2 files changed

+42
-60
lines changed

2 files changed

+42
-60
lines changed

.ipynb_checkpoints/Practice with DataTypes-checkpoint.ipynb

Lines changed: 21 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
},
146146
{
147147
"cell_type": "code",
148-
"execution_count": 12,
148+
"execution_count": 1,
149149
"metadata": {},
150150
"outputs": [
151151
{
@@ -154,7 +154,7 @@
154154
"'ART VANDELAY'"
155155
]
156156
},
157-
"execution_count": 12,
157+
"execution_count": 1,
158158
"metadata": {},
159159
"output_type": "execute_result"
160160
}
@@ -194,14 +194,14 @@
194194
}
195195
],
196196
"source": [
197-
"\"art vandelay\".title() # 'Art Vandelay'"
197+
"\"art vandelay\" # 'Art Vandelay'"
198198
]
199199
},
200200
{
201201
"cell_type": "markdown",
202202
"metadata": {},
203203
"source": [
204-
"Now let's capitalize all of the letters of \"Ceo\"."
204+
"Now let's uppercase all of the letters of \"Ceo\"."
205205
]
206206
},
207207
{
@@ -221,7 +221,7 @@
221221
}
222222
],
223223
"source": [
224-
"\"Ceo\".upper() # 'CEO'"
224+
"\"Ceo\" # 'CEO'"
225225
]
226226
},
227227
{
@@ -233,22 +233,22 @@
233233
},
234234
{
235235
"cell_type": "code",
236-
"execution_count": 21,
236+
"execution_count": 2,
237237
"metadata": {},
238238
"outputs": [
239239
{
240240
"data": {
241241
"text/plain": [
242-
"False"
242+
"'art.vandelay@vandelay.cop'"
243243
]
244244
},
245-
"execution_count": 21,
245+
"execution_count": 2,
246246
"metadata": {},
247247
"output_type": "execute_result"
248248
}
249249
],
250250
"source": [
251-
"\"art.vandelay@vandelay.cop\".endswith(\".com\")"
251+
"\"art.vandelay@vandelay.cop\" # False"
252252
]
253253
},
254254
{
@@ -260,24 +260,24 @@
260260
},
261261
{
262262
"cell_type": "code",
263-
"execution_count": 23,
263+
"execution_count": 3,
264264
"metadata": {
265265
"scrolled": true
266266
},
267267
"outputs": [
268268
{
269269
"data": {
270270
"text/plain": [
271-
"'www.vandelay.com'"
271+
"'vandelay.com'"
272272
]
273273
},
274-
"execution_count": 23,
274+
"execution_count": 3,
275275
"metadata": {},
276276
"output_type": "execute_result"
277277
}
278278
],
279279
"source": [
280-
"'www.' + 'vandelay.com' # 'www.vandelay.com'"
280+
"'vandelay.com' # 'www.vandelay.com'"
281281
]
282282
},
283283
{
@@ -296,42 +296,42 @@
296296
},
297297
{
298298
"cell_type": "code",
299-
"execution_count": 28,
299+
"execution_count": 4,
300300
"metadata": {},
301301
"outputs": [
302302
{
303303
"data": {
304304
"text/plain": [
305-
"7285553335"
305+
"'7285553334'"
306306
]
307307
},
308-
"execution_count": 28,
308+
"execution_count": 4,
309309
"metadata": {},
310310
"output_type": "execute_result"
311311
}
312312
],
313313
"source": [
314-
"int(\"7285553334\") + 1 # 7285553335"
314+
"\"7285553334\" # 7285553335"
315315
]
316316
},
317317
{
318318
"cell_type": "code",
319-
"execution_count": 30,
319+
"execution_count": 5,
320320
"metadata": {},
321321
"outputs": [
322322
{
323323
"data": {
324324
"text/plain": [
325-
"7285553336"
325+
"'7285553334'"
326326
]
327327
},
328-
"execution_count": 30,
328+
"execution_count": 5,
329329
"metadata": {},
330330
"output_type": "execute_result"
331331
}
332332
],
333333
"source": [
334-
"int(\"7285553334\") + 2 # 7285553336"
334+
"\"7285553334\" # 7285553336"
335335
]
336336
},
337337
{
@@ -347,15 +347,6 @@
347347
"source": [
348348
"Your first lab done! Sweet. In this lab, you practiced working with string methods to operate on and answer questions about strings. You wrote methods that return Booleans. And you changed strings to an `int` to then perform addition. So much of working with data, is ensuring that our data is properly formatted so we can then operate on it and in this lab you saw how to use code to just that."
349349
]
350-
},
351-
{
352-
"cell_type": "code",
353-
"execution_count": null,
354-
"metadata": {
355-
"collapsed": true
356-
},
357-
"outputs": [],
358-
"source": []
359350
}
360351
],
361352
"metadata": {

Practice with DataTypes.ipynb

Lines changed: 21 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
},
146146
{
147147
"cell_type": "code",
148-
"execution_count": 12,
148+
"execution_count": 1,
149149
"metadata": {},
150150
"outputs": [
151151
{
@@ -154,7 +154,7 @@
154154
"'ART VANDELAY'"
155155
]
156156
},
157-
"execution_count": 12,
157+
"execution_count": 1,
158158
"metadata": {},
159159
"output_type": "execute_result"
160160
}
@@ -194,14 +194,14 @@
194194
}
195195
],
196196
"source": [
197-
"\"art vandelay\".title() # 'Art Vandelay'"
197+
"\"art vandelay\" # 'Art Vandelay'"
198198
]
199199
},
200200
{
201201
"cell_type": "markdown",
202202
"metadata": {},
203203
"source": [
204-
"Now let's capitalize all of the letters of \"Ceo\"."
204+
"Now let's uppercase all of the letters of \"Ceo\"."
205205
]
206206
},
207207
{
@@ -221,7 +221,7 @@
221221
}
222222
],
223223
"source": [
224-
"\"Ceo\".upper() # 'CEO'"
224+
"\"Ceo\" # 'CEO'"
225225
]
226226
},
227227
{
@@ -233,22 +233,22 @@
233233
},
234234
{
235235
"cell_type": "code",
236-
"execution_count": 21,
236+
"execution_count": 2,
237237
"metadata": {},
238238
"outputs": [
239239
{
240240
"data": {
241241
"text/plain": [
242-
"False"
242+
"'art.vandelay@vandelay.cop'"
243243
]
244244
},
245-
"execution_count": 21,
245+
"execution_count": 2,
246246
"metadata": {},
247247
"output_type": "execute_result"
248248
}
249249
],
250250
"source": [
251-
"\"art.vandelay@vandelay.cop\".endswith(\".com\")"
251+
"\"art.vandelay@vandelay.cop\" # False"
252252
]
253253
},
254254
{
@@ -260,24 +260,24 @@
260260
},
261261
{
262262
"cell_type": "code",
263-
"execution_count": 23,
263+
"execution_count": 3,
264264
"metadata": {
265265
"scrolled": true
266266
},
267267
"outputs": [
268268
{
269269
"data": {
270270
"text/plain": [
271-
"'www.vandelay.com'"
271+
"'vandelay.com'"
272272
]
273273
},
274-
"execution_count": 23,
274+
"execution_count": 3,
275275
"metadata": {},
276276
"output_type": "execute_result"
277277
}
278278
],
279279
"source": [
280-
"'www.' + 'vandelay.com' # 'www.vandelay.com'"
280+
"'vandelay.com' # 'www.vandelay.com'"
281281
]
282282
},
283283
{
@@ -296,42 +296,42 @@
296296
},
297297
{
298298
"cell_type": "code",
299-
"execution_count": 28,
299+
"execution_count": 4,
300300
"metadata": {},
301301
"outputs": [
302302
{
303303
"data": {
304304
"text/plain": [
305-
"7285553335"
305+
"'7285553334'"
306306
]
307307
},
308-
"execution_count": 28,
308+
"execution_count": 4,
309309
"metadata": {},
310310
"output_type": "execute_result"
311311
}
312312
],
313313
"source": [
314-
"int(\"7285553334\") + 1 # 7285553335"
314+
"\"7285553334\" # 7285553335"
315315
]
316316
},
317317
{
318318
"cell_type": "code",
319-
"execution_count": 30,
319+
"execution_count": 5,
320320
"metadata": {},
321321
"outputs": [
322322
{
323323
"data": {
324324
"text/plain": [
325-
"7285553336"
325+
"'7285553334'"
326326
]
327327
},
328-
"execution_count": 30,
328+
"execution_count": 5,
329329
"metadata": {},
330330
"output_type": "execute_result"
331331
}
332332
],
333333
"source": [
334-
"int(\"7285553334\") + 2 # 7285553336"
334+
"\"7285553334\" # 7285553336"
335335
]
336336
},
337337
{
@@ -347,15 +347,6 @@
347347
"source": [
348348
"Your first lab done! Sweet. In this lab, you practiced working with string methods to operate on and answer questions about strings. You wrote methods that return Booleans. And you changed strings to an `int` to then perform addition. So much of working with data, is ensuring that our data is properly formatted so we can then operate on it and in this lab you saw how to use code to just that."
349349
]
350-
},
351-
{
352-
"cell_type": "code",
353-
"execution_count": null,
354-
"metadata": {
355-
"collapsed": true
356-
},
357-
"outputs": [],
358-
"source": []
359350
}
360351
],
361352
"metadata": {

0 commit comments

Comments
 (0)