check data type in if condition python code example Example: python condition if dataype if isinstance(x, int):