On Fri, Apr 22, 2016 at 1:57 PM Rene.Castillo wrote:
> expected output-
> reverse_words("This is an example!") # returns "sihT si na !elpmaxe"
>
> def reverse_words(strng):
> strng = strng[::-1].split(' ')
> strng.reverse()
> return ' '.join(strng)
>
Let's walk through each step that you
On 22/04/2016 17:08, Rene.Castillo wrote:
Hi, this is my first post on this mailing list-
I wanted to ask about this type of execution in python,
expected output-
reverse_words("This is an example!") # returns "sihT si na !elpmaxe"
below is my execution, followed by another persons execution
Hi, this is my first post on this mailing list-
I wanted to ask about this type of execution in python,
expected output-
reverse_words("This is an example!") # returns "sihT si na !elpmaxe"
below is my execution, followed by another persons execution, which i dont
completely understand.
def r