0
fill in the blanks to make the egg attribute strongly private and access it from outside of the class
class Test: __egg = 7 t = Test() print(t._Test__egg)
6 Answers
+ 1
fill in the blanks to make the egg attribute strongly private and access it from outside of the class
class Test:
__egg = 7
t = Test()
print(t._Test__egg)
0
Pls help me
0
plz share this ans
- 1
Answer :
1,2 : _
class Test:
__egg = 7
t = Test()
print(t._Test__egg)
- 2
Is it a question???
- 2
Pls help me