aayushi-droid / Python-Thunder

A curated list of Python applications
MIT License
86 stars 158 forks source link

Simple OOP Calculator #35

Closed vivekkj123 closed 4 years ago

vivekkj123 commented 4 years ago

Before jumping into Pr first comment for assign.All Problem from Edabit. Link is mandatory to add

Problem statement:

Create methods for the Calculator class that can do the following:

Add two numbers.
Subtract two numbers.
Multiply two numbers.
Divide two numbers.

Examples

calculator = Calculator()

calculator.add(10, 5) ➞ 15

calculator.subtract(10, 5) ➞ 5

calculator.multiply(10, 5) ➞ 50

calculator.divide(10, 5) ➞ 2

Notes

The methods should return the result of the calculation.

Problem Link: https://edabit.com/challenge/ta8GBizBNbRGo5iC6


Before submitting a PR please Check some details.Check Edabit for problem task

This repository is vaild for HacktoberFest2020

Read before making PR - How to contribute on Github Good Luck,

vivekkj123 commented 4 years ago

@aayushi-droid Please assign this issue to me.... :), Thanks

satwik-chowdary commented 4 years ago

Assign me to this

aayushi-droid commented 4 years ago

15 duplicate issue, closing now