< portfolio

python: object-oriented programming

in previous projects we haven't worked with object orientation. objects are usually instances of classes, and are used to interact with one another to design applications and computer programs. some examples of object-oriented programming languages are python, ruby, php, java, c++ etc...

in this assignment we were supposed to
sounds fuzzy enough? I know, and to begin with I had trouble understanding what the assignment actually was about. but it got clearer once I sat down and looked down at the already existing files that we was about to develop further.
the classes, one more time, consisted of three different classes with calculations for area, circumference, height for circles, triangles and rectangles. there were predefined values for the different objects, which was the values that the area, circumference etc. was calculated for.
the OOP assignment
this was what the result looked like after running one of the python files

I'd love to hear from you!

I love sales, marketing and the web. if you need a intern or have a trainee spot open - don't hesitate to give me a call!