You get an array of different numbers to sum up. But there is one problem, those numbers all have different bases.
For example:
```python
You get an array of numbers with their base as an input:

[["101",16],["7640",8],["1",9]]
```

The output should be the sum as an integer value with a base of 10, so according to the example this would be:

4258
```python
A few more examples:
[["101",2], ["10",8]] --> 13
[["ABC",16], ["11",2]] --> 2751
```
Bases can be between 2 and 36 (2<=base<=36)

Source: codewars | Difficulty: EASY
Tags: Bit manipulation

Data structures

Fundamentals

Starter code: def sum_it_up(numbers_with_bases):
	

Solutions:
def sum_it_up(a):
	return sum((int(*x) for x in a))


def sum_it_up(a):
	return sum((int(n, b) for (n, b) in a))


sum_it_up = lambda n: sum((int(x[0], x[1]) for x in n))


def sum_it_up(numbers_with_bases):
	return sum((int(number, base) for (number, base) in numbers_with_bases))


def sum_it_up(numbers_with_bases):
	return sum((int(num, base) for (num, base) in numbers_with_bases))


def sum_it_up(to_add):
	return sum((int(num, base) for (num, base) in to_add))


def sum_it_up(numbers_with_bases):
	return sum(list(map(lambda x: int(x[0], x[1]), numbers_with_bases)))


def sum_it_up(numbers_with_bases):
	return sum((int(*ls) for ls in numbers_with_bases))


def sum_it_up(nums):
	return sum((int(n, b) for (n, b) in nums))


def sum_it_up(numbers_with_bases):
	output = []
	for number in numbers_with_bases:
		output.append(int(number[0], number[1]))
	return sum(output)