Skip to content

Commit 297958e

Browse files
committed
Ready
1 parent 91e6026 commit 297958e

File tree

4 files changed

+36
-11
lines changed

4 files changed

+36
-11
lines changed

0_start.py

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Welcome to Python!
2+
#
3+
# Start the Python REPL:
4+
#
5+
# $ python3
6+
#
7+
#
8+
# We will talk about:
9+
#
10+
# * Variables
11+
# * Case sensitivity
12+
# * Built-in types: `int`, `str`, `float`
13+
# * User input
14+
# * A word about quotation marks
15+
#
16+
# Next, we will write Python scripts.
17+
#
18+
# * Writing scripts
19+
# * Printing to the screen
20+
# * LAB: `1_quotes.py`

2_password.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
# Create a program that prompts for a secret password.
1+
# Create a program that prompts for the secret password.
22
#
33
# Let the user try up to three times.
4+
#
5+
# If the user doesn't guess the password in three tries,
6+
# reformat the hard drive. Ok just kidding.
7+
#
8+
#

8_geocoding.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import json
88
from urllib.request import urlopen
99

10-
url = "https://maps.googleapis.com/maps/api/geocode/json?address=Millenium+Park,+Chicago,+IL"
10+
url = "https://maps.googleapis.com/maps/api/geocode/json?address=Millenium+Park,+Chicago,+IL&key=AIzaSyDttiQ5XjbJAombW2oliPDujDtBw6XZD7Q"
1111
webservice = urlopen(url)
1212
encoded_data = webservice.read()
1313
decoded_data = encoded_data.decode("utf8")

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,18 @@ i.e. "python conditional statements"
3535
* Writing scripts
3636
* Printing to the screen
3737
* LAB: `1_quotes.py`
38+
* Collections
39+
* `list`
40+
* `tuple`
41+
* `dict`
42+
* `range`
3843
* Logic (Typealong: 2_password.py)
44+
* Boolean logic: `True`, `False`, `and`, `or`, `not`
3945
* Conditional statements
4046
* Indentation
41-
* Boolean logic: `True`, `False`, `and`, `or`, `not`
42-
* Collection types
43-
* `list`
44-
* `range`
45-
* `tuple`
46-
* `dict`
47+
* Loops
48+
* `while`
49+
* `for`
4750
* LAB: `3_planets.py`
4851
* Sequences
4952
* `str`, `list`, `tuple`
@@ -54,9 +57,6 @@ i.e. "python conditional statements"
5457
* The `pass` statement
5558
* Accepting parameters to functions
5659
* Keyword arguments
57-
* Loops
58-
* `while`
59-
* `for`
6060
* LAB: `4_solar_system.py`
6161
* LAB: `5_sears_tower.py`
6262

0 commit comments

Comments
 (0)