You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ In the past few lessons, we have learned about working with different types of d
8
8
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.
9
9
10
10
### Learning Objectives
11
+
* Manipulate strings with built-in methods
12
+
* Practice coercing data types and changing numbers
11
13
12
14
### Here to mingle
13
15
@@ -80,7 +82,7 @@ First use the `title` method to capitalize the first letter of each word in "art
80
82
81
83
82
84
83
-
'Art Vandelay'
85
+
'art vandelay'
84
86
85
87
86
88
@@ -94,11 +96,11 @@ Now let's uppercase all of the letters of "Ceo".
94
96
95
97
96
98
97
-
'CEO'
99
+
'Ceo'
98
100
99
101
100
102
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.
Copy file name to clipboardExpand all lines: index.ipynb
+25-23Lines changed: 25 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,9 @@
27
27
"cell_type": "markdown",
28
28
"metadata": {},
29
29
"source": [
30
-
"### Learning Objectives"
30
+
"### Learning Objectives\n",
31
+
"* Manipulate strings with built-in methods\n",
32
+
"* Practice coercing data types and changing numbers"
31
33
]
32
34
},
33
35
{
@@ -76,7 +78,7 @@
76
78
},
77
79
{
78
80
"cell_type": "code",
79
-
"execution_count": 3,
81
+
"execution_count": 1,
80
82
"metadata": {},
81
83
"outputs": [
82
84
{
@@ -85,7 +87,7 @@
85
87
"'art vandelay'"
86
88
]
87
89
},
88
-
"execution_count": 3,
90
+
"execution_count": 1,
89
91
"metadata": {},
90
92
"output_type": "execute_result"
91
93
}
@@ -103,7 +105,7 @@
103
105
},
104
106
{
105
107
"cell_type": "code",
106
-
"execution_count": 8,
108
+
"execution_count": 2,
107
109
"metadata": {},
108
110
"outputs": [
109
111
{
@@ -112,7 +114,7 @@
112
114
"'hello'"
113
115
]
114
116
},
115
-
"execution_count": 8,
117
+
"execution_count": 2,
116
118
"metadata": {},
117
119
"output_type": "execute_result"
118
120
}
@@ -145,7 +147,7 @@
145
147
},
146
148
{
147
149
"cell_type": "code",
148
-
"execution_count": 1,
150
+
"execution_count": 3,
149
151
"metadata": {},
150
152
"outputs": [
151
153
{
@@ -154,7 +156,7 @@
154
156
"'ART VANDELAY'"
155
157
]
156
158
},
157
-
"execution_count": 1,
159
+
"execution_count": 3,
158
160
"metadata": {},
159
161
"output_type": "execute_result"
160
162
}
@@ -179,16 +181,16 @@
179
181
},
180
182
{
181
183
"cell_type": "code",
182
-
"execution_count": 15,
184
+
"execution_count": 4,
183
185
"metadata": {},
184
186
"outputs": [
185
187
{
186
188
"data": {
187
189
"text/plain": [
188
-
"'Art Vandelay'"
190
+
"'art vandelay'"
189
191
]
190
192
},
191
-
"execution_count": 15,
193
+
"execution_count": 4,
192
194
"metadata": {},
193
195
"output_type": "execute_result"
194
196
}
@@ -206,16 +208,16 @@
206
208
},
207
209
{
208
210
"cell_type": "code",
209
-
"execution_count": 19,
211
+
"execution_count": 5,
210
212
"metadata": {},
211
213
"outputs": [
212
214
{
213
215
"data": {
214
216
"text/plain": [
215
-
"'CEO'"
217
+
"'Ceo'"
216
218
]
217
219
},
218
-
"execution_count": 19,
220
+
"execution_count": 5,
219
221
"metadata": {},
220
222
"output_type": "execute_result"
221
223
}
@@ -228,12 +230,12 @@
228
230
"cell_type": "markdown",
229
231
"metadata": {},
230
232
"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. "
0 commit comments