First of all, let's get to know the string, string, short for str. In fact, we saw it at the last level:
Integer, English for integer, short for int. In fact, the definition of integer in Python world is the same as that in real world mathematics: it is the general name of positive integer, negative integer and zero, and it is a number without decimal point.
Floating point number is very easy to identify. It has one more decimal point than integer. For example, the numbers in the following code are floating-point numbers.
This work adoptsCC agreementReprint must indicate the author and the link of this article