# Description:

 Move all exclamation marks to the end of the sentence

# Examples

```
remove("Hi!") === "Hi!"
remove("Hi! Hi!") === "Hi Hi!!"
remove("Hi! Hi! Hi!") === "Hi Hi Hi!!!"
remove("Hi! !Hi Hi!") === "Hi Hi Hi!!!"
remove("Hi! Hi!! Hi!") === "Hi Hi Hi!!!!"
```

Source: codewars | Difficulty: EASY
Tags: Fundamentals

Starter code: def remove(s):
	

Solutions:
def remove(s):
	return s.replace('!', '') + s.count('!') * '!'


def remove(s):
	return ''.join(sorted(s, key=lambda a: a == '!'))


def remove(s: str) -> str:
	r = s.replace('!', '')
	return r + '!' * (len(s) - len(r))


def remove(s):
	i = 0
	count = 0
	while i < len(s):
		if s[i] == '!':
			count += 1
			i += 1
		else:
			i += 1
	i = 0
	s = s.replace('!', '')
	while i < count:
		s += '!'
		i += 1
	return s


def remove(s):
	t = s.translate(None, '!')
	return t + '!' * (len(s) - len(t))


def remove(s):
	s = list(s)
	exclamations = ''
	while '!' in s:
		s.remove('!')
		exclamations += '!'
	return ''.join(s) + exclamations


remove = lambda s: s.replace('!', '') + '!' * s.count('!')