Initial commit

This commit is contained in:
Pierre Berthe 2024-02-04 18:36:45 +01:00
commit 250ed0e40f
6 changed files with 297 additions and 0 deletions

7
helper.py Normal file
View file

@ -0,0 +1,7 @@
from typing import Iterator
def nth_element(my_iter: Iterator, n: int) -> int:
for _ in range(n):
next(my_iter)
return next(my_iter)