PNY Technologies interview question

Design a simple class in cpp and Python