Self study of Python — data type


1. String

First of all, let's get to know the string, string, short for str. In fact, we saw it at the last level:

2. Integer

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.

3. Floating point number

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

Recommended Today

Background management system menu management module

1 menu management page design 1.1 business design Menu management, also known as resource management, is the external manifestation of system resources. This module is mainly to add, modify, query and delete the menu. CREATE TABLE `sys_menus` ( `id` int(11) NOT NULL AUTO_INCREMENT, `Name ` varchar (50) default null comment ‘resource name’, `URL ` varchar […]