Skip to content

Commit 5882e37

Browse files
committed
Method over riding
1 parent 10e2950 commit 5882e37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Employee Inheritance.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
" def print(self):\n",
2828
" return \"{} {} {} {}\".format(self.first,self.last,self.email,self.pay)\n",
2929
"\n",
30+
" \n",
3031
"class Developer(Employee):\n",
3132
" def print(self):\n",
3233
" return \"Overring : {} {} {} {}\".format(self.first,self.last,self.email,self.pay)\n",

0 commit comments

Comments
 (0)