Poor Cade has got his number conversions mixed up again!
Fix his ```convert_num()``` function so it correctly converts a base-10 ```int```eger, 
to the selected of ```bin```ary or ```hex```adecimal.
```#The output should be a string at all times```
```python
convert_num(number, base):
    if 'base' = hex:
        return int(number, 16)
    if 'base' = bin:
        return int(number, 2)
    return (Incorrect base input)
```
Please note, invalid ```number``` or ```base``` inputs will be tested.
In the event of an invalid ```number/base``` you should return:
```python
"Invalid number input"
or
"Invalid base input"
```
For each respectively.
Good luck coding! :D
def convert_num(number, base):
    try:
        return {'hex': hex, 'bin': bin}[base](number)
    except KeyError:
        return 'Invalid base input'
    except TypeError:
        return 'Invalid {} input'.format(
            ('base', 'number')[isinstance(base, str)]
        )
def convert_num(number, base):
    try:
        return {'hex': hex, 'bin': bin}[base](number)
    except KeyError:
        return 'Invalid base input'
    except TypeError:
        return 'Invalid {} input'.format(
            ('base', 'number')[isinstance(base, str)]
        )