6.1.2.1. myproject.Calculator#

class myproject.Calculator[source]#

Bases: object

Creates a Calculator to make math operations

Methods

sum(a, b)[source]#

sums two floats and stores the result inside the variable res accessible from the calculator object