¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
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 Respuestas
+ 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