串列(list)不知如何使用sort() #157
Answered
by
charlottechuang
enoch-lightning
asked this question in
Q&A
-
因為老師在module(就是「模組」)9—串列list的講義中,提到串列相關方法有list.sort() 使用anaconda中的spyder使用Visual Studio Code(就是VS Code)使用jupyter lab不知道問題出在哪。 |
Beta Was this translation helpful? Give feedback.
Answered by
charlottechuang
Nov 17, 2021
Replies: 3 comments 1 reply
Answer selected by
enoch-lightning
-
我也用jupyter lab照你的方式試,果然成功了。 jupyter lab |
Beta Was this translation helpful? Give feedback.
0 replies
-
我有再做一點測試,發現就算變數的名字都叫x,建立值(value)不一樣的串列(list),每一個串列都放在記憶體(RAM)中的不同位置。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
這樣就可以了~