Delete day01-2.py
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
input = open('input.txt', 'r').readline()
|
||||
|
||||
i = 0
|
||||
different = []
|
||||
while(len(different) < 13):
|
||||
if(input[i] not in different):
|
||||
different.append(input[i])
|
||||
else:
|
||||
different = []
|
||||
i += 1
|
||||
|
||||
print(i - 1)
|
Reference in New Issue
Block a user