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:
@ -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')))
|
||||
|
||||
|
Reference in New Issue
Block a user