[Solved] How can I increment array with loop?


You mean to do:

while iterations < itemsInListOne:
    listOne[iterations] = float(listOne[iterations]) + 1

Note that you needed to convert it to a float before adding to it.

Also note that this could be done more easily with a list comprehension:

listOne = [float(x) + 1 for x in listOne]

solved How can I increment array with loop?