Skip to content

Commit d1f2a25

Browse files
committed
DR updates, first round
1 parent f29e6d0 commit d1f2a25

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python-class/animals.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class Animal:
2-
def __init__(self, name, gender, habitat):
2+
def __init__(self, name, sex, habitat):
33
self.name = name
4-
self.gender = gender
4+
self.sex = sex
55
self.habitat = habitat
66

77

python-class/crafts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def drive(self):
2323

2424
class Aircraft(Vehicle):
2525
def fly(self):
26-
print("Flying on the sky...")
26+
print("Flying in the sky...")
2727

2828

2929
class FlyingCar(Car, Aircraft):

0 commit comments

Comments
 (0)