repr

  • Python repr()

    内置函数repr()用于返回给定对象的可打印表示。返回的输出将是一个字符串。 **repr(obj)** #where obj can be a string 接受单个参数。在许多…

    编程 2024-10-03