- The Python Workshop
- Andrew Bird Dr Lau Cher Han Mario Corchero Jiménez Graham Lee Corey Wade
- 181字
- 2021-06-11 12:51:29
Summary
To summarize, you need to remember that Python data structures include lists, tuples, dictionaries, and sets. Python provides these structures to enable you to code better as a developer. In this chapter, you have covered lists, which are one of the important data types in Python that store multiple objects, and also other data types, such as dictionaries, tuples, and sets. Each of these data types helps us to store and retrieve data effectively.
Data structures are an essential part of all programming languages. Most programming languages only provide basic data types to store different types of numbers, strings, and Booleans, as you learned in Chapter 1, Vital Python - Math, Strings, Conditionals, and Loops. They are an essential part of any program. In this chapter, you learned how to utilize advanced data structures such as nested lists and mixed data types, and lists with dictionaries — structures that you can use to store complex data.
Next up, we are going to learn how to use functions to write modular and understandable code that follows the DRY (Don't Repeat Yourself) principle.
- 大數(shù)據(jù)技術與應用基礎
- 輕松學Java Web開發(fā)
- Python Artificial Intelligence Projects for Beginners
- OpenStack for Architects
- MicroPython Projects
- RPA:流程自動化引領數(shù)字勞動力革命
- 基于多目標決策的數(shù)據(jù)挖掘方法評估與應用
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·工業(yè)機器人
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·智能制造裝備
- HTML5 Canvas Cookbook
- 網(wǎng)絡存儲·數(shù)據(jù)備份與還原
- 網(wǎng)絡脆弱性掃描產(chǎn)品原理及應用
- C#求職寶典
- 未來學徒:讀懂人工智能飛馳時代
- 納米集成電路制造工藝(第2版)