Skip to content

Commit b69629a

Browse files
committed
Updated string and string manipulation
1 parent 50b837c commit b69629a

File tree

2 files changed

+112
-42
lines changed

2 files changed

+112
-42
lines changed

Python_Basics/Intro/.ipynb_checkpoints/Python3Basics_Part1-checkpoint.ipynb

Lines changed: 56 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
},
8686
{
8787
"cell_type": "code",
88-
"execution_count": 122,
88+
"execution_count": 19,
8989
"metadata": {},
9090
"outputs": [
9191
{
@@ -103,7 +103,7 @@
103103
},
104104
{
105105
"cell_type": "code",
106-
"execution_count": 123,
106+
"execution_count": 20,
107107
"metadata": {},
108108
"outputs": [
109109
{
@@ -121,7 +121,7 @@
121121
},
122122
{
123123
"cell_type": "code",
124-
"execution_count": 124,
124+
"execution_count": 21,
125125
"metadata": {
126126
"collapsed": true
127127
},
@@ -135,7 +135,7 @@
135135
},
136136
{
137137
"cell_type": "code",
138-
"execution_count": 125,
138+
"execution_count": 22,
139139
"metadata": {},
140140
"outputs": [
141141
{
@@ -153,7 +153,7 @@
153153
},
154154
{
155155
"cell_type": "code",
156-
"execution_count": 126,
156+
"execution_count": 23,
157157
"metadata": {},
158158
"outputs": [
159159
{
@@ -170,7 +170,7 @@
170170
},
171171
{
172172
"cell_type": "code",
173-
"execution_count": 127,
173+
"execution_count": 24,
174174
"metadata": {},
175175
"outputs": [
176176
{
@@ -187,7 +187,7 @@
187187
},
188188
{
189189
"cell_type": "code",
190-
"execution_count": 128,
190+
"execution_count": 25,
191191
"metadata": {},
192192
"outputs": [
193193
{
@@ -205,7 +205,7 @@
205205
},
206206
{
207207
"cell_type": "code",
208-
"execution_count": 129,
208+
"execution_count": 26,
209209
"metadata": {},
210210
"outputs": [
211211
{
@@ -241,7 +241,7 @@
241241
},
242242
{
243243
"cell_type": "code",
244-
"execution_count": 130,
244+
"execution_count": 27,
245245
"metadata": {},
246246
"outputs": [
247247
{
@@ -263,7 +263,7 @@
263263
},
264264
{
265265
"cell_type": "code",
266-
"execution_count": 131,
266+
"execution_count": 28,
267267
"metadata": {
268268
"collapsed": true
269269
},
@@ -275,7 +275,42 @@
275275
},
276276
{
277277
"cell_type": "code",
278-
"execution_count": 132,
278+
"execution_count": 35,
279+
"metadata": {},
280+
"outputs": [
281+
{
282+
"name": "stdout",
283+
"output_type": "stream",
284+
"text": [
285+
"Help on built-in function lower:\n",
286+
"\n",
287+
"lower(...)\n",
288+
" S.lower() -> string\n",
289+
" \n",
290+
" Return a copy of the string S converted to lowercase.\n",
291+
"\n"
292+
]
293+
}
294+
],
295+
"source": [
296+
"# Can also use help\n",
297+
"help(firstVariable.lower)"
298+
]
299+
},
300+
{
301+
"cell_type": "code",
302+
"execution_count": 36,
303+
"metadata": {
304+
"collapsed": true
305+
},
306+
"outputs": [],
307+
"source": [
308+
"help"
309+
]
310+
},
311+
{
312+
"cell_type": "code",
313+
"execution_count": 29,
279314
"metadata": {},
280315
"outputs": [
281316
{
@@ -284,7 +319,7 @@
284319
"['Hello', 'World']"
285320
]
286321
},
287-
"execution_count": 132,
322+
"execution_count": 29,
288323
"metadata": {},
289324
"output_type": "execute_result"
290325
}
@@ -295,7 +330,7 @@
295330
},
296331
{
297332
"cell_type": "code",
298-
"execution_count": 133,
333+
"execution_count": 30,
299334
"metadata": {},
300335
"outputs": [
301336
{
@@ -304,7 +339,7 @@
304339
"['Hello', 'World']"
305340
]
306341
},
307-
"execution_count": 133,
342+
"execution_count": 30,
308343
"metadata": {},
309344
"output_type": "execute_result"
310345
}
@@ -316,7 +351,7 @@
316351
},
317352
{
318353
"cell_type": "code",
319-
"execution_count": 134,
354+
"execution_count": 31,
320355
"metadata": {},
321356
"outputs": [
322357
{
@@ -325,7 +360,7 @@
325360
"'Hello World'"
326361
]
327362
},
328-
"execution_count": 134,
363+
"execution_count": 31,
329364
"metadata": {},
330365
"output_type": "execute_result"
331366
}
@@ -336,7 +371,7 @@
336371
},
337372
{
338373
"cell_type": "code",
339-
"execution_count": 135,
374+
"execution_count": 32,
340375
"metadata": {},
341376
"outputs": [
342377
{
@@ -353,7 +388,7 @@
353388
},
354389
{
355390
"cell_type": "code",
356-
"execution_count": 136,
391+
"execution_count": 33,
357392
"metadata": {},
358393
"outputs": [
359394
{
@@ -362,7 +397,7 @@
362397
"'000'"
363398
]
364399
},
365-
"execution_count": 136,
400+
"execution_count": 33,
366401
"metadata": {},
367402
"output_type": "execute_result"
368403
}
@@ -373,7 +408,7 @@
373408
},
374409
{
375410
"cell_type": "code",
376-
"execution_count": 137,
411+
"execution_count": 34,
377412
"metadata": {},
378413
"outputs": [
379414
{
@@ -382,7 +417,7 @@
382417
"'FizzBuzz'"
383418
]
384419
},
385-
"execution_count": 137,
420+
"execution_count": 34,
386421
"metadata": {},
387422
"output_type": "execute_result"
388423
}

0 commit comments

Comments
 (0)