[Python] What does rtype mean in Python?

Discussão em 'Python' iniciado por Stack, Junho 7, 2025.

  1. Stack

    Stack Membro Participativo

    When I do some code tests, there are some comments below the solution function like this:

    """
    :type x: int
    :rtype: int
    """


    x is my only input, so what does rtype stand for?

    Continue reading...

Compartilhe esta Página