Ad
  • Default User Avatar

    def reverse(str):
    str = list(str)
    print(str[::-1])

    user = input('enter word: ')

    reverse(''.join(user))

    #i thinks this would work better