Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Employee:
- def __init__(self,r,c):
- self.r = r
- self.c = c
- print(r"Complex no =",self.r,"+",self.c,"i")
- print("")
- class GE(Employee):
- def __init__(self,r,c,promotion="yes"):
- super(r,c).__init__()
- #self.promotion = "yes"
- print(self.promotion)
Add Comment
Please, Sign In to add comment