Example #1
0
from functions import *
from classes import Employee, Student

a()
b()
c()

e1 = Employee(101, "Payal", 22, 1000000, "CEO")
e1.display()

s1 = Student(11, "ranu", 12)
s1.display()
Example #2
0
from package import *
from classes import Employee, Student
a()
b()
c()

e1 = Employee(101, "Rajat", 21, 10000, "pat")
e1.display()

e2 = Student(101, "Rajat", 21)
e2.display()