I know that there is another answer to this but that's for complex users. I'm a basic python user who started a couple of days ago. So I need a simple answer
Im trying to understand this line of code. Mostly the enumerate part. Could someone please what enumerate does.
f = open("solutions.txt", "r")
searchlines = f.readlines()
for i, line in enumerate(searchlines):
Thanks in Advance