Skip to content

Commit 008a339

Browse files
Add files via upload
1 parent 1d06726 commit 008a339

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

studentteacher.py

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
class person(object)
2+
def __init__(self,name)
3+
self.name = name
4+
def get_details(self)
5+
return self.name
6+
class student (person)
7+
def __init__(self,name,branch,year)
8+
person.__init__(self,name)
9+
10+

0 commit comments

Comments
 (0)