Say i have a several list if ints:
x = [['48', '5', '0'], ['77', '56', '0'],
['23', '76', '34', '0']]
I want this list to be converted to a single number, but the the single number type is still an integer i.e.:
4850775602376340
i have been using this code to carry out the process:
num = int(''.join(map(str,x)))
but i keep getting a value error.
Also if my list contained negative integers how would i convert them to there absolute value? Then convert them to a single number?
x2 = [['48', '-5', '0'], ['77', '56', '0'], ['23', '76', '-34', '0']]
x2 = 4850775602376340
Thanks in advance.