為此,在 __init__() 函式中新增第二個引數以表示樹的值,並將其初始化為 None 以使其成為可選引數。 Python. pythonCopy class Tree: def __init__( ...
確定! 回上一頁