+ 1
What is int() ?
2 Respuestas
+ 4
int() function in Python and Python3 converts a number in given base to decimal. ... string : consists of 1's and 0's base : (integer value) base of the number. Returns : Returns an integer value, which is equivalent of binary string in the given base.
credit - geeksforgeeks
link - https://www.google.com/amp/s/www.geeksforgeeks.org/python-int-function/amp/
+ 1
Its integer numbers, like 10, 20, 3, 4, 8. But not 5.45, 7.56 - these are floating point numbers. You can call it by float()
In python integers numbers used in list (like index), boolean (True = 1, False = 0)