You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
line = open("input.txt", "r").read()
|
|
|
|
for i in range(len(line)):
|
|
if len(set(line[i : i + 4])) == 4:
|
|
print(i + 4)
|
|
break
|