Python adalah bilangan bulat
(1.23).is_integer() # Returns false
gritter97
(1.23).is_integer() # Returns false
var.isdigit()
#return true if all the chars in the string are numbers
#return false if not all the chars in the string are numbers
N.is_integer()
>>> 50.is_integer
SyntaxError: invalid syntax