2 ms·
I fail to see how better it is than: array = ["foo", "ba", "r"] result = "" i = 0 while len(array) > i: result = result + array[i]
by 1337shadow 6y ago
I fail to see how better it is than:
array = ["foo", "ba", "r"]
result = ""
i = 0
while len(array) > i:
result = result + array[i]
i += 1
exactly 3 times less code