Diddo the swap from
for i in range(len(items)):
for item in items:
you are absolutely right, I have updated the code. Thanks
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.