# 0328 ``` 想三個字典如何運用例子 ``` ## 字典 ![](https://i.imgur.com/3lFpnXk.jpg) #### List is a collection which is ordered and changeable. Allows duplicate members. #### Tuple is a collection which is ordered and unchangeable. Allows duplicate members. #### Set is a collection which is unordered, unchangeable*, and unindexed. No duplicate members. #### Dictionary is a collection which is ordered** and changeable. No duplicate members. ## 作業: * 用迴圈找出"麥禮仁"的學號 * 用迴圈找出所有"陳"姓同學的學號與姓名 * 全班同學有那幾個姓氏?同學姓名是否有重複的? * 找出所有的姓氏 set
{"metaMigratedAt":"2023-06-16T22:09:05.995Z","metaMigratedFrom":"Content","title":"0328","breaks":true,"contributors":"[{\"id\":\"4dfebb48-62e3-4093-b22e-bde00bb0bc86\",\"add\":515,\"del\":0}]"}
Expand menu