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

What does num mean in python?

藏色散人
Release: 2019-07-05 10:07:11
Original
47673 people have browsed it

What does num mean in python?

#What does num mean in python?

num in python is the abbreviation of number.

Python Number data type is used to store numerical values.

The data type is not allowed to be changed, which means that if the value of the Number data type is changed, the memory space will be reallocated.

The following examples of Number objects will be created when variables are assigned:

var1 = 1
var2 = 10
Copy after login

You can also use the del statement to delete some Number object references.

The syntax of the del statement is:

del var1[,var2[,var3[....,varN]]]]
Copy after login

You can delete single or multiple objects by using the del statement, for example:

del var
del var_a, var_b
Copy after login

Related recommendations: "Python Tutorial

The above is the detailed content of What does num 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