simple_calculator package

Submodules

simple_calculator.simple_calculator module

Main module.

simple_calculator.simple_calculator.add(a, b) int[source]

This function returns the result by adding two numbers

Args:

a (int): The first number b (int): The second number

Returns:

int: Returns the result by adding both a and b

simple_calculator.simple_calculator.subtract(a, b) int[source]

This function returns the result by subtracting two numbers

Args:

a (int): The first number b (int): The second number

Returns:

int: Returns the result by subtracting b from a

Module contents

Top-level package for Simple Calculator.