The Sanrio Calculator is a playful and user-friendly calculator inspired by Sanrio’s beloved characters, like Hello Kitty. This calculator is designed to make basic arithmetic operations easy and fun.

## Purpose and Functionality

The Sanrio Calculator performs basic arithmetic operations: addition, subtraction, multiplication, and division. Its primary goal is to provide a simple and accessible tool for everyday calculations. With its cute design and straightforward interface, it brings a touch of joy to mundane tasks.

## Formula and Calculations

The calculator uses the following formula to perform calculations based on user input:

`sanrio_calculator(num1, operator, num2):`

if operator == '+':

return num1 + num2

elif operator == '-':

return num1 - num2

elif operator == '*':

return num1 * num2

elif operator == '/':

if num2 == 0:

return "Error: Division by zero!"

else:

return num1 / num2

else:

return "Invalid operator"

## Step-by-Step Examples

Let’s walk through a few examples to see how the Sanrio Calculator works:

**Addition (+)**- Input: Number 1 = 5, Operator = +, Number 2 = 3
- Calculation: 5 + 3
- Output: 8

**Subtraction (-)**- Input: Number 1 = 10, Operator = -, Number 2 = 4
- Calculation: 10 – 4
- Output: 6

**Multiplication (*)**- Input: Number 1 = 6, Operator = *, Number 2 = 7
- Calculation: 6 * 7
- Output: 42

**Division (/)**- Input: Number 1 = 8, Operator = /, Number 2 = 2
- Calculation: 8 / 2
- Output: 4

## Relevant Information Table

Operation | Number 1 | Operator | Number 2 | Calculation | Output |
---|---|---|---|---|---|

Addition | 5 | + | 3 | 5 + 3 | 8 |

Subtraction | 10 | – | 4 | 10 – 4 | 6 |

Multiplication | 6 | * | 7 | 6 * 7 | 42 |

Division | 8 | / | 2 | 8 / 2 | 4 |

Division by 0 | 8 | / | 0 | 8 / 0 | Error: Division by zero! |

## Conclusion

The Sanrio Calculator is a delightful tool for performing basic arithmetic operations. Its simple design and ease of use make it perfect for users of all ages. Whether you’re adding, subtracting, multiplying, or dividing, the Sanrio Calculator makes math fun and accessible. Embrace the charm of Sanrio while tackling everyday calculations with this cute and efficient calculator!