Skip to content

Commit f01820e

Browse files
committed
creating classes
1 parent eb88b98 commit f01820e

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

class properties.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

classes.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
#object oriented programming
2-
3-
class Boy:
1+
class Employee:
42
pass
53

64

7-
boy=Boy()
8-
boy1=Boy()
9-
boy2=Boy()
5+
boy=Employee()
6+
7+
Employee2=Employee()
108

119
print(boy)
12-
print(boy1)
13-
print(boy2)
10+
print(Employee2)

0 commit comments

Comments
 (0)