Type of parameter added

This commit is contained in:
2022-12-06 13:19:44 +02:00
parent 120a015fbf
commit 1c4ffaaf49

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