Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class student:
- def __init__(self):
- self.marks = 97
- self.__cgpa = 8.7
- def display(self):
- print(self.marks)
- obj=student()
- print(obj._student__cgpa)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement