1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

refactor: usage of built-in type hinting in Python solutions

This commit is contained in:
Divlo
2022-04-24 20:27:51 +02:00
parent 64c5d41358
commit 34644bd333
27 changed files with 142 additions and 116 deletions

View File

@ -1,7 +1,6 @@
from typing import List
import sys
numbers: List[int] = []
numbers: list[int] = []
for value in sys.stdin:
numbers.append(int(value.rstrip('\n')))