Is this your company?
reverse of string. i.e. "hello world" -> "world hello"
Anonymous
x = "hello world" x= x.split(" ") for i in range(len(x)/2): temp = x[i] x[i] = x[len(x)-i-1] x[len(x)-1-i] = temp print " ".join(x)
Check out your Company Bowl for anonymous work chats.