Skip to content

Commit d3d0100

Browse files
committed
start state
1 parent fac2795 commit d3d0100

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Start/Ch 1/class_start.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def __init__(self, title):
2424

2525

2626
# TODO: Create some book instances
27-
b1 = Book("Title 1")
28-
b2 = Book("Title 2")
27+
2928

3029
# TODO: Use the static method to access a singleton object

Start/Ch 1/instance_start.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ def __init__(self, title):
1313

1414

1515
# TODO: create some book instances
16-
b1 = Book("War and Peace")
17-
b2 = Book("The Catcher in the Rye")
16+
1817

1918
# TODO: print the price of book1
2019

0 commit comments

Comments
 (0)