@@ -0,0 +1,322 @@
+def reverseWords(str):%0A    # Variables%0A    newStr = %22%22%0A    strList = str.split()%0A%0A    strList.reverse() # reversing list%0A%0A    # Adding words backwards%0A    for e in strList:%0A        newStr += e + %22 %22%0A        %0A    newStr = newStr%5B: -1%5D # removing final space%0A    return newStr%0A%0A# Testing%0Aprint reverseWords(%22hello world!%22)%0A%0A

Add new program