In this exercise, a string is passed to a method and a new string has to be returned with the first character of each word in the string.

For example:

```
"This Is A Test" ==> "TIAT"
```

Source: codewars | Difficulty: EASY
Tags: String algorithms

Fundamentals

Starter code: def make_string(s):
	

Solutions:
def make_string(s):
	return ''.join((a[0] for a in s.split()))


def make_string(s):
	return ''.join((word[0] for word in s.split()))


def make_string(s):
	return ''.join((w[0] for w in s.split()))


def make_string(s):
	return ''.join((i[0] for i in s.split()))


from operator import itemgetter

def make_string(s):
	return ''.join(map(itemgetter(0), s.split()))


def make_string(s):
	return ''.join([n[0] for n in s.split()])


def make_string(s):
	return ''.join((x[0] for x in s.split(' ')))


def make_string(k):
	k = k.split()
	j = ''
	for i in range(len(k)):
		j += k[i][0]
	return j


def make_string(s):
	import re
	return re.sub(' ', '', re.sub('(?<=\\w)\\w+.', '', s))


def make_string(s):
	return ''.join([s.split()[i][0] for i in range(len(s.split()))])