educative.io

Educative

What is the purpose of __OnlyOne class?

I still dont know why there is a class OnlyOne? and why just have all the attributes in OnlyOne class in the ParkingLot class itself?