Strange class

This code is a question in one of python challenge’s of SoloLearn but I think it is wrong and raises TypeError. Could someone explain it for me? https://code.sololearn.com/c4ZVw3odrHe0/?ref=app

2/14/2018 4:56:51 AM


1 Answer

New Answer


it is easy: __init__ has 4 underscores: two at the beginning and two at the end. The method is private