mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 12:58:42 +08:00
translation: Add Python and Java code for EN version (#1345)
* Add the intial translation of code of all the languages * test * revert * Remove * Add Python and Java code for EN version
This commit is contained in:
19
en/codes/python/modules/__init__.py
Normal file
19
en/codes/python/modules/__init__.py
Normal file
@ -0,0 +1,19 @@
|
||||
# Follow the PEP 585 - Type Hinting Generics In Standard Collections
|
||||
# https://peps.python.org/pep-0585/
|
||||
from __future__ import annotations
|
||||
|
||||
# Import common libs here to simplify the code by `from module import *`
|
||||
from .list_node import (
|
||||
ListNode,
|
||||
list_to_linked_list,
|
||||
linked_list_to_list,
|
||||
)
|
||||
from .tree_node import TreeNode, list_to_tree, tree_to_list
|
||||
from .vertex import Vertex, vals_to_vets, vets_to_vals
|
||||
from .print_util import (
|
||||
print_matrix,
|
||||
print_linked_list,
|
||||
print_tree,
|
||||
print_dict,
|
||||
print_heap,
|
||||
)
|
||||
Reference in New Issue
Block a user