Answers to Python basic exercises-introductory basics and data types (two)

Made By ZLY All Right Reversed

Python entry basics and data types (two) answers

1-5 ABDAD 6-10 CADCC

Analysis:

1. slightly

2. ** (Power) has a higher priority than *

3. The principle of slicing left closed and right opened

4. Python's five data types: numeric type, sequence type, hash type, boolean type, binary type

Numerical type: int float complex
Sequence type: list tuple str
Hash type: dict set
Boolean type: False True
Binary type: bytes bytearry

5. Option D is the opposite

6-10. Omitted

Guess you like

Origin blog.csdn.net/zly717216/article/details/104555771