iT邦幫忙

2018 iT 邦幫忙鐵人賽
DAY 11
0
list string dict tuple set
mutable? mutable immutable mutable immutable mutable
declaration 中括號(square brackets) 單引號(')或雙引號(") brackets(大括號) 括號(parentheses) brackets(not empty)
type constructor list() dict() tuple() set()
comprehensions yes yes yes
indexed yes yes yes, by key yes no
sliced yes yes no yes no
ordered? ordered X unordered ordered unordered

參考


上一篇
Day15-Set
下一篇
Day17-Function-概觀
系列文
if len(learning.python) == 30:31

尚未有邦友留言

立即登入留言