from typing import List
再用python3的時候可能會遇到以下這種:
def fun(self, candidates: List[int], target: int) -> List[List[int]]:
這個時候需要導入一下List類庫
from typing import List
再用python3的時候可能會遇到以下這種:
def fun(self, candidates: List[int], target: int) -> List[List[int]]:
這個時候需要導入一下List類庫
繼續運行 ?* 回憶上次內容 上次使用shell環境中的命令 命令 作用 c