Home > Backend Development > Python Tutorial > What does int mean in python?

What does int mean in python?

藏色散人
Release: 2019-07-04 10:42:43
Original
12203 people have browsed it

What does int mean in python?

What does int mean in python?

int is a class in python. It is one of the immutable data types. Some of its properties are the same as strings, and it is an integer type.

● Python int number type: int, long, bool, float, complex.

● Creation of integer type int: Creating a new integer type variable and assigning a value to the variable are the same process.

● Characteristics of the integer type: Since it is an integer type, the data during natural assignment must be an integer. Integers are simply understood as (positive integers and negative integers).

● Operation operators and methods between integer variables: The operators before integer data type variables that python can currently support include addition (+), subtraction (-), multiplication (*), and division ( /) and power (**).

Introduction to Python:

Python is pure free software. The source code and interpreter CPython follow the GPL (GNU General Public License) agreement. Python syntax is concise and clear. One of its features is the forced use of whitespace. character (white space) as statement indentation.

Related recommendations: "Python Tutorial"

The above is the detailed content of What does int mean in python?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template