Test Your Knowledge: Quiz

We’ll explore the concepts introduced in this chapter in more detail in upcoming chapters, so we’ll just cover the big ideas here:

 

广告:个人专属 VPN,独立 IP,无限流量,多机房切换,还可以屏蔽广告和恶意软件,每月最低仅 5 美元

 
  1. Name four of Python’s core data types.
  2. Why are they called “core” data types?
  3. What does “immutable” mean, and which three of Python’s core types are considered immutable?
  4. What does “sequence” mean, and which three types fall into that category?
  5. What does “mapping” mean, and which core type is a mapping?
  6. What is “polymorphism,” and why should you care?