+ 12
Whar is an integer?
8 ответов
+ 13
#pretty much just a number
print(int("4"))
#int() can convert a string to a 'number'/integer type. string numbers and integer numbers act differently
+ 17
Whole numbers.
+ 6
thanks
+ 6
tx everyone
+ 4
a data type for a variable(s) which allows them to store a single whole number as their value.
or simply, whole numbers
+ 2
Integer(s) are whole numbers. 123, 213, -23 are considered integers while 1.2, 24433.7, and -60.3, are not considered integers because they have a decimal point.
+ 2
To put it simply in layman terms, integers are numbers which can be represented without the use of the decimal point '.' without any loss of accuracy.
They are numbers which comprise of positive as well as negative whole numbers.
+ 1
any number without decimal is called integerand with decimal called float