Angad Sandhu
Search
Browse

multiplication

Source name
multiplication.py
# ================================================================
# File: basic_calculator/multiplication.py
# Description:
#   Implements the Operation interface to perform multiplication.
#
# Steps Covered:
# 4. Determine Core Methods Based on Use Cases.
# ================================================================

from operation import Operation

class Multiplication(Operation):
    def operate(self, operand1: float, operand2: float) -> float:
        return operand1 * operand2

Browse the library