Skip to content

Commit d142da6

Browse files
Merge pull request #4 from assrafali2005-cmd/patch-1
Refactor VGLUG class and update method names
2 parents 0f0da53 + 3c72a00 commit d142da6

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

project1

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11

2-
class VGLUG company:
3-
def __init__(self,name,age,id,salary,phone):
2+
class VGLUG:
3+
def __init__(self,name,age,id,,phone):
44
self.name=name
55
self.age=age
66
self.id=id
7-
self.salary=salary
7+
88
self.phone=phone
99

10-
def get Employee Details(self):
10+
def get member Details(self):
1111
print("name:",self.name)
1212
print("Age:",self.age)
1313
print("ID:",self.id)
14-
print("Salary:",self.salary)
1514
print("Phone:",self.phone)
1615

17-
Vcom=VGLUGcompany("HARI",21,1014,750000,7094975269)
18-
Vcom.get Employee Details()
16+
Vcom=VGLUG("HARI",21,1014,750000,7094975269)
17+
Vcom.get member Details()

0 commit comments

Comments
 (0)