Python - Check If Number Is An Integer

preview_player
Показать описание
#Python #Shorts
Sometimes you may want to check if the result you get after performing some math operation is the whole number.
Python makes it easy for us to do this by calling the "is_integer" method on a float.

-------------------------------------------------------------------------------------
Links:
Рекомендации по теме