So, I've tried reversing the characters in two ways, but on both trials I've got this error:
Oops, try again. Your function fails on reverse("Python!"). It returns "None" when it should return "!nohtyP".
At first I tried this code:
def reverse(str): for l in range(len(str) - 1, 0, -1): print str[l]
Then this one:
def reverse(str): rev =  for l in range(len(str) - 1, 0, -1): rev.append(str[l]) "".join(rev) print rev
So, which would be the closest to getting it right and how do I change it to work?