Code made in python class - dev fundamentals