x = 10 if isinstance(x, int) == True: print("x is a integer") if isinstance(x, str): print("x is a string")