Skip to content

Commit 40d209b

Browse files
committed
comment problematic lines
1 parent ff5238e commit 40d209b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

prep-exercises/exercise_twelve.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ def get_full_name(self) -> str:
3535

3636
person2 = Parent("Elizaveta", "Alekseeva")
3737
print(person2.get_name())
38-
print(person2.get_full_name())
39-
person2.change_last_name("Tyurina")
38+
#print(person2.get_full_name())
39+
#person2.change_last_name("Tyurina")
4040
print(person2.get_name())
41-
print(person2.get_full_name())
41+
#print(person2.get_full_name())
4242

43-
# I pridict that lines 38, 39, & 41 will through an error, since these methods simply don't exist in the parent class.
43+
44+
# I pridict that lines 38, 39, & 41 will through an error, since these methods simply don't exist in the parent class.
45+
46+
# all problematic lines: 38, 39, 41 were commented one after the other while going through the error messages.

0 commit comments

Comments
 (0)