Last active
July 14, 2021 07:46
-
-
Save Abhayparashar31/c4ff6d1ae0e71b76dc64345dd52f36e5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Employee: | |
| def __init__(self,name,age,exp,salary): | |
| self.name = name | |
| self.age = age | |
| self.exp = exp | |
| self.salary = salary | |
| class Developers(Employee): | |
| def __init__(self,name,age,exp,salary,level): | |
| super().__init__(name,age,exp,salary) | |
| self.level = level | |
| class Deginers(Employee): | |
| def __init__(self,name,age,exp,salary,level): | |
| super().__init__(name,age,exp,salary) | |
| self.level = level |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment