0
How would the attribute __a of class b be accessed outside the class?
4 Respostas
+ 3
_b__a
+ 2
class B:
__a = 10
def __init__(self):
pass
b = B()
print(b._B__a)
0
Actually I am stuck in this question while my python tutorial
0
I need just a single line answer that it accepts