Type of parameter added

This commit is contained in:
mikas committed 2022-12-06 13:19:44 +02:00
1 parent 120a015fbf
commit 1c4ffaaf49
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ input = open(os.path.dirname(__file__) +
"/input.txt", "r").read()
def findUniq(length):
def findUniq(length: int):
for i in range(len(input)):
if len(set(input[i:i+length])) == length:
return i+length