2011-04-13, 02:02 AM
By commenting out you meant breaking the while, right?
Code:
def backwards_word(words):
for index in range(-1, -len(words)-1, -1):
print (words[index]),
while index <= len(words):
letter = words[index]
print letter
index -= 1
break
words = raw_input("Words: ")
backwards_word(words)
