Add typing to maths/segmented_sieve.py (#7054)

This commit is contained in:
Saksham Chawla
2022-10-12 18:49:49 +02:00
committed by GitHub
parent e272b9d6a4
commit f676055bc6
+1 -1
View File
@@ -3,7 +3,7 @@
import math
def sieve(n):
def sieve(n: int) -> list[int]:
"""Segmented Sieve."""
in_prime = []
start = 2