Given two integers `a` and `b`, which can be positive or negative, find the sum of all the numbers between including them too and return it. If the two numbers are equal return `a` or `b`.

**Note:** `a` and `b` are not ordered!

## Examples

```python
get_sum(1, 0) == 1   // 1 + 0 = 1
get_sum(1, 2) == 3   // 1 + 2 = 3
get_sum(0, 1) == 1   // 0 + 1 = 1
get_sum(1, 1) == 1   // 1 Since both are same
get_sum(-1, 0) == -1 // -1 + 0 = -1
get_sum(-1, 2) == 2  // -1 + 0 + 1 + 2 = 2
```
```C
get_sum(1, 0) == 1   // 1 + 0 = 1
get_sum(1, 2) == 3   // 1 + 2 = 3
get_sum(0, 1) == 1   // 0 + 1 = 1
get_sum(1, 1) == 1   // 1 Since both are same
get_sum(-1, 0) == -1 // -1 + 0 = -1
get_sum(-1, 2) == 2  // -1 + 0 + 1 + 2 = 2
```

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Starter code: def get_sum(a,b):
	

Solutions:
def get_sum(a, b):
	return sum(range(min(a, b), max(a, b) + 1))


def get_sum(a, b):
	return (a + b) * (abs(a - b) + 1) // 2


def get_sum(a, b):
	soma = 0
	if a == b:
		return a
	elif a > b:
		for i in range(b, a + 1):
			soma += i
		return soma
	else:
		for i in range(a, b + 1):
			soma += i
		return soma


def get_sum(a, b):
	if a > b:
		(a, b) = (b, a)
	return sum(range(a, b + 1))


def get_sum(a, b):
	x = 0
	if a == b:
		return a
	elif a > b:
		for i in range(b, a + 1):
			x += i
	elif b > a:
		for i in range(a, b + 1):
			x += i
	return x


def get_sum(a, b):
	sum = 0
	if a == b:
		return a
	if b < a:
		(a, b) = (b, a)
	for i in range(a, b + 1):
		sum += i
	return sum


def get_sum(a, b):
	return sum([x for x in range(min(a, b), max(a, b) + 1)])