Skip to content

Commit 5f28714

Browse files
committed
Add bunch of comments for additional clarity.
1 parent f1aba9e commit 5f28714

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

slides.ipynb

+16-2
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,7 @@
789789
},
790790
"outputs": [],
791791
"source": [
792+
"# Point\n",
792793
"slc1"
793794
]
794795
},
@@ -803,6 +804,7 @@
803804
},
804805
"outputs": [],
805806
"source": [
807+
"# MagicPoint\n",
806808
"m_slc1 "
807809
]
808810
},
@@ -817,7 +819,8 @@
817819
},
818820
"outputs": [],
819821
"source": [
820-
" dist_lax_slc"
822+
"# MagicDistance\n",
823+
"dist_lax_slc"
821824
]
822825
},
823826
{
@@ -842,6 +845,7 @@
842845
},
843846
"outputs": [],
844847
"source": [
848+
"# Point\n",
845849
"str(slc1)"
846850
]
847851
},
@@ -856,6 +860,7 @@
856860
},
857861
"outputs": [],
858862
"source": [
863+
"# MagicPoint\n",
859864
"str(m_slc1)"
860865
]
861866
},
@@ -870,6 +875,7 @@
870875
},
871876
"outputs": [],
872877
"source": [
878+
"# MagicDistance\n",
873879
"str(dist_lax_slc)"
874880
]
875881
},
@@ -906,6 +912,7 @@
906912
},
907913
"outputs": [],
908914
"source": [
915+
"# Point\n",
909916
"\"SLC coordinates: {}.\".format(slc1)"
910917
]
911918
},
@@ -931,6 +938,7 @@
931938
},
932939
"outputs": [],
933940
"source": [
941+
"# Point\n",
934942
"\"SLC coordinates: {}.\".format(slc1.coordinates())"
935943
]
936944
},
@@ -967,6 +975,7 @@
967975
},
968976
"outputs": [],
969977
"source": [
978+
"# MagicPoint\n",
970979
"\"SLC coordinates: {}.\".format(m_slc1)"
971980
]
972981
},
@@ -992,6 +1001,7 @@
9921001
},
9931002
"outputs": [],
9941003
"source": [
1004+
"# MagicPoint\n",
9951005
"\"SLC coordinates: {:.4f}.\".format(m_slc1)"
9961006
]
9971007
},
@@ -1029,6 +1039,7 @@
10291039
},
10301040
"outputs": [],
10311041
"source": [
1042+
"# MagicDistance\n",
10321043
"\"Distance from LAX to SLC is {} nautical miles.\".format(dist_lax_slc)"
10331044
]
10341045
},
@@ -1043,6 +1054,7 @@
10431054
},
10441055
"outputs": [],
10451056
"source": [
1057+
"# MagicDistance\n",
10461058
"\"Distance from JFK to SLC is {} nautical miles.\".format(dist_jfk_slc)"
10471059
]
10481060
},
@@ -1062,7 +1074,9 @@
10621074
"\n",
10631075
"* `__gt__()`, `__ge__()`\n",
10641076
"\n",
1065-
"* Let's take a quick look at these methods in the code."
1077+
"* Let's take a quick look at these methods in the code.\n",
1078+
"\n",
1079+
"* Nothing but magic from here."
10661080
]
10671081
},
10681082
{

0 commit comments

Comments
 (0)