
count=0
def reverse(word):
    """
    Reversing the string
    :param input: word
    :return: reversed word
    """
    w=""
    count = -1
    for i in word:
        w+=word[count]
        count+=-1
    print(w)

reverse("happy")
reverse("Python")
reverse("")
reverse("a")

ba34224803d3f0255395107e38a0650aafd54fca
<mask token>

<mask token>


def reverse(word):
    """
    Reversing the string
    :param input: word
    :return: reversed word
    """
    w = ''
    count = -1
    for i in word:
        w += word[count]
        count += -1
    print(w)


<mask token>

<mask token>


def reverse(word):
    """
    Reversing the string
    :param input: word
    :return: reversed word
    """
    w = ''
    count = -1
    for i in word:
        w += word[count]
        count += -1
    print(w)


reverse('happy')
reverse('Python')
reverse('')
reverse('a')

count = 0


def reverse(word):
    """
    Reversing the string
    :param input: word
    :return: reversed word
    """
    w = ''
    count = -1
    for i in word:
        w += word[count]
        count += -1
    print(w)


reverse('happy')
reverse('Python')
reverse('')
reverse('a')


count=0
def reverse(word):
    """
    Reversing the string
    :param input: word
    :return: reversed word
    """
    w=""
    count = -1
    for i in word:
        w+=word[count]
        count+=-1
    print(w)

reverse("happy")
reverse("Python")
reverse("")
reverse("a")
