Home > Article > Backend Development > 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 (**).
Recommended: "Python Tutorial"
Introduction to Python:
Python is purely free software, source code and explanation The CPython tool follows the GPL (GNU General Public License) protocol. Python syntax is concise and clear. One of its features is the forced use of white space as statement indentation.
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!