Home > Article > Backend Development > 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
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]]]]
You can delete single or multiple objects by using the del statement, for example:
del var del var_a, var_b
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!