# How to check whole number in Python?

x = 1/3 # insert your number here print(x - int(x) == 0) # True if x is a whole number, False if it has decimals.

### Curly hair, very fair, please share 🙂

*Related*

check a number is a whole number python, check for whole number in python, check for whole number python, check if a float has no decimals, check if a number has decimals pythonm, check if a number is whole python, check if decimal is zero python, check if division result is whole number oython, check if float is integer python, check if float is whole number python, check if is a number python, check if it is whole number python, check if it's a number python, check if number after dot float python, check if number has decimal python, check if number has decimals python, check if number is a whole number python, check if number is round python, check if number is whole number python, check if number is whole python, check if somethging is a round python, check if something is a round python, check if something is a whole number python, check if something is whole number python, check if whole number python, check is number in python, check number in python, check number python, check whole number in python, check whole number python, checking if its a number python, checking if something is a number python, checking numbers in python, checkk if a number is whole in python, determine if a value is a whole number python, find if a python float doesn't contain decimal places, for number check in python, get whole number in python, how can you tell if a number is a whole number python, how do i check if something is a number in python, how many decimals are in a whole number python, how to check for a whole number in python, how to check for whole number in python, how to check if a float is .0 and then int(), how to check if a float is a whole number python, how to check if a float is a whole number python4, how to check if a float value have decimals python, how to check if a int has 4 or more decimals python, how to check if a number as a fraction in python, how to check if a number has a decimal in python, how to check if a number has a fraction in python, how to check if a number has decimals in python, how to check if a number in python, how to check if a number is 0 float in python, how to check if a number is a whole number in python, how to check if a number is whole in python, how to check if a number is whole number in python, how to check if a number is whole python, how to check if a value is a number in python, how to check if a variable is not a whole number python, how to check if float has no fraction, how to check if is a number python, how to check if it is whole number in python, how to check if number has a fraction in python, how to check if number has decimals python, how to check if number is whole python, how to check if something is a number in python, how to check in number is whole number python, how to check number in python, how to check number is whole number or not in python, how to check numbers in python, how to check whole number in python, how to ensure a number is a whole number in python, how to figure out whether or not a number is whole or not python, how to find out if a float is whole, how to find out if a number is a fraction python, how to find out if a number is python is a whole number, how to know if a string is a number in python, how to know if something is a number in python, how to see if a number is a hole number in python, how to take only real number in python, how to tell if a number is a whole number in pytho, how to tell if a number is a whole number in python, how to tell if something is a whole number python, if number is whole number python, if whole number python, is whole number python, isinteger 1.0 python, number check in python, number check python, python check for whole number, python check for whole value, python check if a float is a whole number, python check if a large number is a whole number, python check if a large number is a whole numberpytyhon is a float number a shole number, python check if a number is whole, python check if division is whole number, python check if float has .5, python check if float has decimals, python check if float is .5, python check if float is int, python check if float is whole number, python check if int round number, python check if is a number, python check if it is a number, python check if number has decimal, python check if number has decimals, python check if number is a whole number, python check if number is whole, python check if something is a number, python check if value has decimal, python check if value is whole number, python check if whole number, python check integer is whole number, python check is floatdecimal 0, python check is number, python check is something is a whole number, python check number, python check number has decimal, python check whole number, python checking numbers, python convert float to int if possible, python float is int, python how to check for numbers, python how to check if a number is a whole number, python how to check if a number is whole, python how to check if number is whole, python how to check if something is number, python how to check if whole number, python how to find whole numbers, python how to know if number is whole, python how to tell if a num,ber is hwole, python how to test float .0, python if whole number, python is number whole, python is whole number, python know the next integer number in float, take int if float is integer, test if a calculation is a int python, whole number check python, whole python