You have to create a function which receives 3 arguments: 2 numbers, and the result of an unknown operation performed on them (also a number).

Based on those 3 values you have to return a string, that describes which operation was used to get the given result.

The possible return strings are:
  `"addition"`,
  `"subtraction"`,
  `"multiplication"`,
  `"division"`.

## Example:
```
calcType(1, 2, 3) -->   1 ? 2 = 3   --> "addition"
```

## Notes
* In case of division you should expect that the result of the operation is obtained by using `/` operator on the input values - no manual data type conversion or rounding should be performed.
* Cases with just one possible answers are generated.
* Only valid arguments will be passed to the function.

Difficulty: EASY
Starter code: def calc_type(a, b, res):
	

Solutions:
def calc_type(a, b, res):
	return {a + b: 'addition', a - b: 'subtraction', a * b: 'multiplication', a / b: 'division'}[res]


from operator import add, sub, mul, truediv
OPS = (('addition', add), ('subtraction', sub), ('multiplication', mul), ('division', truediv))

def calc_type(a, b, res):
	return next((kind for (kind, f) in OPS if f(a, b) == res))


calc_type = lambda a, b, c: {a + b: 'addit', a - b: 'subtract', a * b: 'multiplicat', a / b: 'divis'}[c] + 'ion'


from operator import add as addition, sub as subtraction, mul as multiplication, truediv as division

def calc_type(a, b, res):
	return next((name for name in ['addition', 'subtraction', 'multiplication', 'division'] if globals()[name](a, b) == res))


def calc_type(a, b, res):
	if a + b == res:
		return 'addition'
	if a - b == res:
		return 'subtraction'
	return 'multiplication' if a * b == res else 'division'


def calc_type(a, b, res):
	if a + b == res:
		return 'addition'
	elif a - b == res:
		return 'subtraction'
	elif a * b == res:
		return 'multiplication'
	elif a / b == res:
		return 'division'


def calc_type(a, b, res):
	if a - b == res:
		return 'subtraction'
	if a + b == res:
		return 'addition'
	if a * b == res:
		return 'multiplication'
	if a / b == res:
		return 'division'
	return 'no operation'