Mar-10-2017, 09:20 PM
Hello everyone,
I'm new to Python and I'm having difficulty understanding why my Loop-List code doesn't work.
I'm new to Python and I'm having difficulty understanding why my Loop-List code doesn't work.
# loop in list listA = list(range(0,101,5)) for i in range(len(listA)): print('Item no. ' + str(i+1) + ' is: ' + listA[i])Please advise. Thank you.