Python Int
Int
Int, or integer, is a whole number, positive or negative, without decimals, of unlimited length.
Example
Integers:
x = 1
y = 35656222554887711
z =
-3255522
print(type(x))
print(type(y))
print(type(z))
Try it Yourself »
Int, or integer, is a whole number, positive or negative, without decimals, of unlimited length.
Integers:
x = 1
y = 35656222554887711
z =
-3255522
print(type(x))
print(type(y))
print(type(z))
Try it Yourself »
If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail:
help@w3schools.com
Your message has been sent to W3Schools.