Posts by Guilherme BL • 1 point
1 post
-
-3
votes5
answers23915
viewsA: How do I know if the variable is an integer in Python?
But using both the type as to the isinstance, if the content of the variable is typed with a decimal point (12.0, for example), the variable will be a float and the result of the expression will be…