code: def check_str(obj):
          
          if isinstance(obj, str):
              return obj
          if isinstance(obj, float):
              return str(int(obj))
          else:
              return str(obj)
docs: Returns a string for various input types