Given a string, swap the case for each of the letters.

e.g. CodEwArs --> cODeWaRS

### Examples

```
""           ->   ""
"CodeWars"   ->   "cODEwARS"
"abc"        ->   "ABC"
"ABC"        ->   "abc"
"123235"     ->   "123235"
```

Source: codewars | Difficulty: EASY

Starter code: def swap(string_):
	

Solutions:
def swap(string_):
	return string_.swapcase()


swap = str.swapcase


swap = lambda s: ''.join([c.lower() if c.isupper() else c.upper() for c in s])


swap = lambda s: s.swapcase()


def swap(s):
	return s.swapcase()


def swap(string_):
	s = ''
	for i in string_:
		if i.isupper():
			s += i.lower()
		else:
			s += i.upper()
	return s


def swap(word):
	return ''.join((ch.upper() if ch.islower() else ch.lower() for ch in word))