Quotes help make search much faster. Example: "Practice Makes Perfect"

Thursday, November 29, 2012

Codecademy: reverse


#sample solution


def reverse(text):
textReversed=""
textLength=len(text)
while textLength>0:
textLength = textLength - 1
textReversed = textReversed+text[textLength]
return textReversed

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts