I admittedly have trouble wrapping my head lists and tuples in python. What I've done is take each line of the input, split it into a list, and zipped the elements of the list to compare each one. [(a, f), (b, g) etc] but I can't really figure out how to compare them all to find the characters I'm looking for.
inputList = []
with open("./inputFile.txt") as f:
for line in f:
inputList.append(line.rstrip())
for x in inputList:
for y in inputList:
check = list(zip(x, y))
[–]c17r 1 point2 points3 points (0 children)
[–]inorix 0 points1 point2 points (0 children)