Let's say I have a tuple t = (1,2,3,4). What's the simple way to change it into Array?
I can do something like this,
array = []
for i in t:
array.append(i)
But I prefer something like x.toArray() or something.
Let's say I have a tuple t = (1,2,3,4). What's the simple way to change it into Array?
I can do something like this,
array = []
for i in t:
array.append(i)
But I prefer something like x.toArray() or something.