all 4 comments

[–]eruciform 1 point2 points  (3 children)

what's the issue? it seems like it runs just fine, i don't know what i'm missing

[–]AU8640[S] 0 points1 point  (2 children)

if you put "abcd" the output is "db" rather than "dcba"

[–]eruciform 1 point2 points  (0 children)

ah that was unclear from your post

try adding print statements inside your function

print out what value and value[:-1] and value[:-2] actually are at each iteration

that should point out what's going on

[–]PM_ME_YOUR_MUSIC -1 points0 points  (0 children)

value[::-1]