mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
refactor: Replace list()
and dict()
calls with literals (#7198)
This commit is contained in:
@ -100,7 +100,7 @@ def solution(filename: str = "p107_network.txt") -> int:
|
||||
script_dir: str = os.path.abspath(os.path.dirname(__file__))
|
||||
network_file: str = os.path.join(script_dir, filename)
|
||||
adjacency_matrix: list[list[str]]
|
||||
edges: dict[EdgeT, int] = dict()
|
||||
edges: dict[EdgeT, int] = {}
|
||||
data: list[str]
|
||||
edge1: int
|
||||
edge2: int
|
||||
|
Reference in New Issue
Block a user