1itemlist = []
2for j in range(len(myarray)):
3 item = myarray[j]
4 itemlist.append(item)
1array = ["1st", "2nd", "3rd"]
2#prints: ['1st', '2nd', '3rd']
3array.append("4th")
4#prints: ['1st', '2nd', '3rd', '4th']
1array = [1,2,3,4,5]
2print(array,array[0],array[1],array[2],array[3],array[4]
3
4#Output#
5#[1,2,3,4,5] 1 2 3 4 5
1#You can put multiple arrays in one array
2tests = [[1,2,3],["r",22,33]]
3#prints: [[1,2,3],['r',22,33]]