I'm trying to access multiple items in a list as they relate to one another. I would like to access list item 0 and 1, item 1 & 2. I'm familiar with for loops, but only accessing
list = [A, B, C, D, E, F] etc.
for i in list:
print(i)
print (i+1)
Result:
AB BC CD DE EF
I would also prefer to not get F'null' or "FA" as a tail.
Any advice? Thanks!