This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define a class called Calculator to encapsulate arithmetic operations | |
import math | |
class Calculator: | |
""" | |
Initializes the object with the given var_x and var_y values. | |
Parameters: | |
var_x (int): The value for the var_x coordinate. | |
var_y (int): The value for the var_y coordinate. |