原本電腦中的設定有多個python macOS內建python3、有透過brew、IDLE、PyCharm安裝的 https://developer.apple.com/forums/thread/680222 後來全都都刪除 /Library/Frameworks/Python.framework/Versions/3.9/bin/python3 /usr/local/ bin/python3 /usr/bin/python3
Aug 24, 2022def function 要先定義,定義完要呼叫才會執行 def test(): print("123") test() 因為python是直譯的關係,如果先呼叫 會找不到定義
Jul 28, 2021code = { 'A':"10", 'B':"11", 'C':"12", 'D':"13", 'E':"14", 'F':"15", 'G':"16", 'H':"17", 'I':"34",
Jul 12, 2021List 陣列、串列 list是有序的 string = "String" for s in string: print(s) # "String" => "S","t","r","i","n","g" Tuple 元組
Jul 12, 2021or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up