#sample solution
def reverse(text):
textReversed=""
textLength=len(text)
while textLength>0:
textLength = textLength - 1
textReversed = textReversed+text[textLength]
return textReversed
def reverse(text):
textReversed=""
textLength=len(text)
while textLength>0:
textLength = textLength - 1
textReversed = textReversed+text[textLength]
return textReversed
No comments:
Post a Comment