Samsara interview question

creating a python class and adding functions and features.