Skip to content

Commit ca2efc0

Browse files
committed
u21
1 parent 3b65e0a commit ca2efc0

File tree

4 files changed

+96
-14
lines changed

4 files changed

+96
-14
lines changed

.ipynb_checkpoints/Numbers-checkpoint.ipynb

+7-7
Original file line numberDiff line numberDiff line change
@@ -386,11 +386,11 @@
386386
"cell_type": "markdown",
387387
"metadata": {},
388388
"source": [
389-
"## Object Assignments\n",
389+
"## Variable Assignments\n",
390390
"\n",
391-
"Now that we've seen how to use numbers in Python as a calculator let's see how we can assign names and create objects.\n",
391+
"Now that we've seen how to use numbers in Python as a calculator let's see how we can assign names and create variables.\n",
392392
"\n",
393-
"We use a single equals sign to assign names to objects. Let's see a few examples of how we can do this."
393+
"We use a single equals sign to assign labels to variables. Let's see a few examples of how we can do this."
394394
]
395395
},
396396
{
@@ -481,7 +481,7 @@
481481
"cell_type": "markdown",
482482
"metadata": {},
483483
"source": [
484-
"Yes! Python allows you to write over assigned object names. We can also use the objects themselves when doing the reassignment. Here is an example of what I mean:"
484+
"Yes! Python allows you to write over assigned variable names. We can also use the variables themselves when doing the reassignment. Here is an example of what I mean:"
485485
]
486486
},
487487
{
@@ -546,14 +546,14 @@
546546
"cell_type": "markdown",
547547
"metadata": {},
548548
"source": [
549-
"The names you use when creating these objects need to follow a few rules:\n",
549+
"The names you use when creating these labels need to follow a few rules:\n",
550550
"\n",
551551
" 1. Names can not start with a number.\n",
552552
" 2. There can be no spaces in the name, use _ instead.\n",
553553
" 3. Can't use any of these symbols :'\",<>/?|\\()!@#$%^&*~-+\n",
554554
" 3. It's considered best practice (PEP8) that the names are lowercase.\n",
555555
"\n",
556-
"Using object names can be a very useful way to keep track of different variables in Python. For example:"
556+
"Using variable names can be a very useful way to keep track of different variables in Python. For example:"
557557
]
558558
},
559559
{
@@ -599,7 +599,7 @@
599599
"cell_type": "markdown",
600600
"metadata": {},
601601
"source": [
602-
"So what have we learned? We learned some of the basics of numbers in Python. We also learned how to do arithmetic and use Python as a basic calculator. We then wrapped it up with learning about Object Assignment in Python.\n",
602+
"So what have we learned? We learned some of the basics of numbers in Python. We also learned how to do arithmetic and use Python as a basic calculator. We then wrapped it up with learning about Variable Assignment in Python.\n",
603603
"\n",
604604
"Up next we'll learn about Strings!"
605605
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"#Variable Assignment"
8+
]
9+
},
10+
{
11+
"cell_type": "code",
12+
"execution_count": null,
13+
"metadata": {
14+
"collapsed": true
15+
},
16+
"outputs": [],
17+
"source": []
18+
}
19+
],
20+
"metadata": {
21+
"kernelspec": {
22+
"display_name": "Python 2",
23+
"language": "python",
24+
"name": "python2"
25+
},
26+
"language_info": {
27+
"codemirror_mode": {
28+
"name": "ipython",
29+
"version": 2
30+
},
31+
"file_extension": ".py",
32+
"mimetype": "text/x-python",
33+
"name": "python",
34+
"nbconvert_exporter": "python",
35+
"pygments_lexer": "ipython2",
36+
"version": "2.7.10"
37+
}
38+
},
39+
"nbformat": 4,
40+
"nbformat_minor": 0
41+
}

Numbers.ipynb

+7-7
Original file line numberDiff line numberDiff line change
@@ -386,11 +386,11 @@
386386
"cell_type": "markdown",
387387
"metadata": {},
388388
"source": [
389-
"## Object Assignments\n",
389+
"## Variable Assignments\n",
390390
"\n",
391-
"Now that we've seen how to use numbers in Python as a calculator let's see how we can assign names and create objects.\n",
391+
"Now that we've seen how to use numbers in Python as a calculator let's see how we can assign names and create variables.\n",
392392
"\n",
393-
"We use a single equals sign to assign names to objects. Let's see a few examples of how we can do this."
393+
"We use a single equals sign to assign labels to variables. Let's see a few examples of how we can do this."
394394
]
395395
},
396396
{
@@ -481,7 +481,7 @@
481481
"cell_type": "markdown",
482482
"metadata": {},
483483
"source": [
484-
"Yes! Python allows you to write over assigned object names. We can also use the objects themselves when doing the reassignment. Here is an example of what I mean:"
484+
"Yes! Python allows you to write over assigned variable names. We can also use the variables themselves when doing the reassignment. Here is an example of what I mean:"
485485
]
486486
},
487487
{
@@ -546,14 +546,14 @@
546546
"cell_type": "markdown",
547547
"metadata": {},
548548
"source": [
549-
"The names you use when creating these objects need to follow a few rules:\n",
549+
"The names you use when creating these labels need to follow a few rules:\n",
550550
"\n",
551551
" 1. Names can not start with a number.\n",
552552
" 2. There can be no spaces in the name, use _ instead.\n",
553553
" 3. Can't use any of these symbols :'\",<>/?|\\()!@#$%^&*~-+\n",
554554
" 3. It's considered best practice (PEP8) that the names are lowercase.\n",
555555
"\n",
556-
"Using object names can be a very useful way to keep track of different variables in Python. For example:"
556+
"Using variable names can be a very useful way to keep track of different variables in Python. For example:"
557557
]
558558
},
559559
{
@@ -599,7 +599,7 @@
599599
"cell_type": "markdown",
600600
"metadata": {},
601601
"source": [
602-
"So what have we learned? We learned some of the basics of numbers in Python. We also learned how to do arithmetic and use Python as a basic calculator. We then wrapped it up with learning about Object Assignment in Python.\n",
602+
"So what have we learned? We learned some of the basics of numbers in Python. We also learned how to do arithmetic and use Python as a basic calculator. We then wrapped it up with learning about Variable Assignment in Python.\n",
603603
"\n",
604604
"Up next we'll learn about Strings!"
605605
]

Variable Assignment.ipynb

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"metadata": {},
6+
"source": [
7+
"#Variable Assignment"
8+
]
9+
},
10+
{
11+
"cell_type": "code",
12+
"execution_count": null,
13+
"metadata": {
14+
"collapsed": true
15+
},
16+
"outputs": [],
17+
"source": []
18+
}
19+
],
20+
"metadata": {
21+
"kernelspec": {
22+
"display_name": "Python 2",
23+
"language": "python",
24+
"name": "python2"
25+
},
26+
"language_info": {
27+
"codemirror_mode": {
28+
"name": "ipython",
29+
"version": 2
30+
},
31+
"file_extension": ".py",
32+
"mimetype": "text/x-python",
33+
"name": "python",
34+
"nbconvert_exporter": "python",
35+
"pygments_lexer": "ipython2",
36+
"version": "2.7.10"
37+
}
38+
},
39+
"nbformat": 4,
40+
"nbformat_minor": 0
41+
}

0 commit comments

Comments
 (0)