the input is [120, [10, 20, 30]]
i split the balance using this code
def checkio(data): balance=[int(x) for x in data[0:1]] withdrawal=data[1:2]
but when i split it the withdrawal section looks like [[10,20,30]]
which hinders the loops im going to do.
I want it to have single brackets like so: [10,20,30]
how do i go about doing this