Machstatz Interview Question

classes in python