Addend Analytics interview question

Functions and constructor in Python