Skip to content

Commit e933473

Browse files
committed
fixed some typos
1 parent 8db1064 commit e933473

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
### Introduction
55

6-
Now that you know about variables, you want to use them to associate them with some data. Here, we will be using variables to store information related to a vacation that we would like to go on.
6+
Now that we know about variables, we want to put them to use by associating them with some data. Here, we will be using variables to store information related to a vacation that we would like to go on.
77

88
Just as before, we ask you to run the code and ensure that it matches what is commented out.
99

@@ -14,21 +14,21 @@ Just as before, we ask you to run the code and ensure that it matches what is co
1414

1515
### Assigning variables
1616

17-
Assign a variable of `travel_month` equal to the string "January", as that is the month you would like to travel.
17+
Assign a variable of `travel_month` equal to the string "January", as that is the month we would like to travel.
1818

1919

2020
```python
2121
travel_month = None
2222
```
2323

24-
> We start by setting the variable equal to the data type None. As you know, `None` represents the absence of a value. And now you can take care of assigning the variable to something other than `None`.
24+
> We start by setting the variable equal to the data type None. As we know, `None` represents the absence of a value. Now we can take care of assigning the variable to something other than `None`.
2525
2626

2727
```python
2828
travel_month # "January"
2929
```
3030

31-
Now let's assign a variable equal to the number of weeks that you would like to travel, 3.
31+
Now let's assign a variable equal to the number of weeks that we would like to travel, 3.
3232

3333

3434
```python
@@ -40,7 +40,7 @@ number_of_weeks = None
4040
number_of_weeks # 3
4141
```
4242

43-
Now, you just learned that you can travel for a longer period of time. So reassign the `number_of_weeks` variable equal to `5`.
43+
UPDATE: we just learned that we can travel for a longer period of time. So, we need to reassign the `number_of_weeks` variable equal to `5`.
4444

4545

4646
```python
@@ -51,4 +51,4 @@ Now that's more like it.
5151

5252
### Summary
5353

54-
Great! In this lab, you were able to get a sense how to store information in variables through assignment and reassignment.
54+
Great! In this lab, we were able to get a sense how to store information in variables through assignment and reassignment.

index.ipynb

+19-17
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"cell_type": "markdown",
1919
"metadata": {},
2020
"source": [
21-
"Now that you know about variables, you want to use them to associate them with some data. Here, we will be using variables to store information related to a vacation that we would like to go on.\n",
21+
"Now that we know about variables, we want to put them to use by associating them with some data. Here, we will be using variables to store information related to a vacation that we would like to go on.\n",
2222
"\n",
2323
"Just as before, we ask you to run the code and ensure that it matches what is commented out."
2424
]
@@ -49,12 +49,12 @@
4949
"cell_type": "markdown",
5050
"metadata": {},
5151
"source": [
52-
"Assign a variable of `travel_month` equal to the string \"January\", as that is the month you would like to travel."
52+
"Assign a variable of `travel_month` equal to the string \"January\", as that is the month we would like to travel."
5353
]
5454
},
5555
{
5656
"cell_type": "code",
57-
"execution_count": 7,
57+
"execution_count": 1,
5858
"metadata": {
5959
"collapsed": true
6060
},
@@ -67,13 +67,15 @@
6767
"cell_type": "markdown",
6868
"metadata": {},
6969
"source": [
70-
"> We start by setting the variable equal to the data type None. As you know, `None` represents the absence of a value. And now you can take care of assigning the variable to something other than `None`."
70+
"> We start by setting the variable equal to the data type None. As we know, `None` represents the absence of a value. Now we can take care of assigning the variable to something other than `None`."
7171
]
7272
},
7373
{
7474
"cell_type": "code",
75-
"execution_count": 8,
76-
"metadata": {},
75+
"execution_count": 2,
76+
"metadata": {
77+
"collapsed": true
78+
},
7779
"outputs": [],
7880
"source": [
7981
"travel_month # \"January\""
@@ -83,12 +85,12 @@
8385
"cell_type": "markdown",
8486
"metadata": {},
8587
"source": [
86-
"Now let's assign a variable equal to the number of weeks that you would like to travel, 3. "
88+
"Now let's assign a variable equal to the number of weeks that we would like to travel, 3. "
8789
]
8890
},
8991
{
9092
"cell_type": "code",
91-
"execution_count": 9,
93+
"execution_count": 3,
9294
"metadata": {
9395
"collapsed": true
9496
},
@@ -99,7 +101,7 @@
99101
},
100102
{
101103
"cell_type": "code",
102-
"execution_count": 10,
104+
"execution_count": 4,
103105
"metadata": {
104106
"collapsed": true
105107
},
@@ -112,12 +114,12 @@
112114
"cell_type": "markdown",
113115
"metadata": {},
114116
"source": [
115-
"Now, you just learned that you can travel for a longer period of time. So reassign the `number_of_weeks` variable equal to `5`."
117+
"UPDATE: we just learned that we can travel for a longer period of time. So, we need to reassign the `number_of_weeks` variable equal to `5`."
116118
]
117119
},
118120
{
119121
"cell_type": "code",
120-
"execution_count": null,
122+
"execution_count": 5,
121123
"metadata": {
122124
"collapsed": true
123125
},
@@ -144,27 +146,27 @@
144146
"cell_type": "markdown",
145147
"metadata": {},
146148
"source": [
147-
"Great! In this lab, you were able to get a sense how to store information in variables through assignment and reassignment."
149+
"Great! In this lab, we were able to get a sense how to store information in variables through assignment and reassignment."
148150
]
149151
}
150152
],
151153
"metadata": {
152154
"kernelspec": {
153-
"display_name": "Python 3",
155+
"display_name": "Python 2",
154156
"language": "python",
155-
"name": "python3"
157+
"name": "python2"
156158
},
157159
"language_info": {
158160
"codemirror_mode": {
159161
"name": "ipython",
160-
"version": 3
162+
"version": 2
161163
},
162164
"file_extension": ".py",
163165
"mimetype": "text/x-python",
164166
"name": "python",
165167
"nbconvert_exporter": "python",
166-
"pygments_lexer": "ipython3",
167-
"version": "3.6.1"
168+
"pygments_lexer": "ipython2",
169+
"version": "2.7.14"
168170
}
169171
},
170172
"nbformat": 4,

0 commit comments

Comments
 (0)