valor = 10.5 if isinstance(valor, (int, float)): print(f'{valor} é numérico') else: print(f'{valor} não é numérico')