iT邦幫忙

2018 iT 邦幫忙鐵人賽
DAY 11
0
自我挑戰組

if len(learning.python) == 30:系列 第 16

Day16-Built-in Types-Recap

  • 分享至 

  • twitterImage
  •  
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
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言