Python integer (int), is a whole number, positive or negative, without decimals, of unlimited length. The integers are zero, positive or negative whole numbers without a fractional part and having unlimited precision, e.g. 0, 100, -10.
A simple example code uses the
type() method to get the class name.
x = 1 y = 35636363 z = -10001000 print(type(x)) print(type(y)) print(type(z))
Do comment if you have any doubts or suggestions on this Python basic topic.
Note: IDE: PyCharm 2021.3.3 (Community Edition)
All Python Examples are in Python 3, so Maybe its different from python 2 or upgraded versions.
Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology & like learning technical.