A spoonerism is a spoken phrase in which the first letters of two of the words are swapped around, often with amusing results.

In its most basic form a spoonerism is a two word phrase in which only the first letters of each word are swapped:

```"not picking" --> "pot nicking"```

Your task is to create a function that takes a string of two words, separated by a space: ```words``` and returns a spoonerism of those words in a string, as in the above example.

NOTE: All input strings will contain only two words.  Spoonerisms can be more complex.  For example, three-word phrases in which the first letters of the first and last words are swapped: ```"pack of lies" --> "lack of pies"``` or more than one letter from a word is swapped: ```"flat battery --> "bat flattery"```
You are NOT expected to account for these, or any other nuances involved in spoonerisms.

Once you have completed this kata, a slightly more challenging take on the idea can be found here: http://www.codewars.com/kata/56dbed3a13c2f61ae3000bcd

Source: codewars | Difficulty: EASY
Tags: String algorithms

Starter code: def spoonerize(words):
	

Solutions:
def spoonerize(words):
	(a, b) = words.split()
	return '{}{} {}{}'.format(b[0], a[1:], a[0], b[1:])


def spoonerize(words):
	(a, b) = words.split()
	return f'{b[0]}{a[1:]} {a[0]}{b[1:]}'


def spoonerize(words):
	(a, b) = words.split()
	return ' '.join((b[0] + a[1:], a[0] + b[1:]))


def spoonerize(words):
	lst = words.split(' ')
	a = list(lst[0])
	b = list(lst[1])
	(a[0], b[0]) = (b[0], a[0])
	return ''.join(a) + ' ' + ''.join(b)


def spoonerize(words):
	h = [x[0] for x in words.split()]
	t = [y[1:] for y in words.split()]
	return ' '.join((x + y for (x, y) in zip(h[::-1], t)))


spoonerize = lambda w: (lambda w: ' '.join([w[1][0] + w[0][1:], w[0][0] + w[1][1:]]))(w.split(' '))


def spoonerize(words):
	x = words.split()
	(first, second) = (list(x[0]), list(x[1]))
	(first[0], second[0]) = (second[0], first[0])
	str_list = ''.join(first) + ' ' + ''.join(second)
	return str_list


def spoonerize(words):
	(l, r) = words.split()
	return r[0] + l[1:] + ' ' + l[0] + r[1:]