In Chapter 2 , you were introduced to different data types. However, Python has many data types. As a beginner, to proceed further, you need to be familiar with strings, numbers (particularly integers and floating-point numbers), and Booleans. These are the primitive data types, and you see them in almost every program. This chapter quickly covers them along with some useful built-in functions.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Simple Data Types

  • Vaskaran Sarcar

摘要

In Chapter 2 , you were introduced to different data types. However, Python has many data types. As a beginner, to proceed further, you need to be familiar with strings, numbers (particularly integers and floating-point numbers), and Booleans. These are the primitive data types, and you see them in almost every program. This chapter quickly covers them along with some useful built-in functions.