+ 1
How to put sth. like a string at end of array
I mean an array that was already defined etc. and if yes can you put an array to the end as well?
1 Answer
+ 3
I don't really understand what you mean.
Something like this?
arr = [1,3]
print(arr)
arr.append("string")
print(arr)
arr2 = [2,"second array"]
arr.append(arr2)
print(arr)