Modify the spacify function so that it returns the given string with spaces inserted between each character.

```python
spacify("hello world") # returns "h e l l o   w o r l d"
```

Source: codewars | Difficulty: EASY
Tags: String algorithms

Fundamentals

Data structures

Starter code: def spacify(string):
	

Solutions:
spacify = ' '.join


def spacify(string):
	return ' '.join(string)


def spacify(string):
	return ' '.join(list(string))


def spacify(string):
	return string.replace('', ' ')[1:-1]


def spacify(string):
	retVal = ''
	for ch in string:
		retVal += ch + ' '
	return retVal[:-1]


def spacify(string):
	s = ''
	i = 0
	for char in string:
		if i == 0:
			s = s + string[i]
		else:
			s = s + ' ' + string[i]
		i += 1
	return s


def spacify(s):
	return ' '.join((c for c in s))


def spacify(string):
	b = ''
	for i in string:
		b += i + ''
		b += ' '
	b = b[:-1]
	return b