Skip to content

Commit f2d4b07

Browse files
authored
Update Day_12.md
1 parent b62c047 commit f2d4b07

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Status/Day_12.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,16 @@ print aNewYorker
8989
----------------
9090
**My Solution: Python 3**
9191
```
92+
class American():
93+
pass
94+
95+
class NewYorker(American):
96+
pass
97+
98+
american = American()
99+
newyorker = NewYorker()
100+
101+
print(american)
102+
print(newyorker)
92103
```
93104
----------------------------------------

0 commit comments

Comments
 (0)