- 1
Can someone please say what's wrong with my code?
4 Answers
+ 1
I think the error comes from not distinguishing between the methods vt and a (marked as private) _vt attribute
0
In the example based on your code, I renamed the attribute _vt (marked as private to discourage user from directly accessing it)
https://code.sololearn.com/cgOjJD5Jrdb1/?ref=app
- 2
Not solved yet
- 2
Can someone please rewrite it?