Write a generic converter where the first parameter is “base” (2 <= base <= 16) and then other parameters (flexible
amount) are decimal integers. Based on the base, the other integers should be converted. Please also verify that the
parameters are integers and not a string / other object. The return value should be a list:
Input: 2, 5, 10, 3; Output: base=2, 101, 1010, 11
Input: 8, 5, 10; Output: base=8, 5, 12
Input: 17, 5, 10; Output: Wrong base
Input: 16, 15, 40, 3.5; Output: base=16; F, 28, NA
Remark 1: The lists will only contain strings, so make sure to store ‘101’ instead of 101.
Remark 2: Wrong base should be returned as a list with one element
code must be in Python 3.x version.