Help Suzuki rake his garden!

The monastery has a magnificent Zen garden made of white gravel and rocks and it is raked diligently everyday by the monks. Suzuki having a keen eye is always on the lookout for anything creeping into the garden that must be removed during the daily raking such as insects or moss. 

You will be given a string representing the garden such as:

```
garden = 'gravel gravel gravel gravel gravel gravel gravel gravel gravel rock slug ant gravel gravel snail rock gravel gravel gravel gravel gravel gravel gravel slug gravel ant gravel gravel gravel gravel rock slug gravel gravel gravel gravel gravel snail gravel gravel rock gravel snail slug gravel gravel spider gravel gravel gravel gravel gravel gravel gravel gravel moss gravel gravel gravel snail gravel gravel gravel ant gravel gravel moss gravel gravel gravel gravel snail gravel gravel gravel gravel slug gravel rock gravel gravel rock gravel gravel gravel gravel snail gravel gravel rock gravel gravel gravel gravel gravel spider gravel rock gravel gravel'
```

Rake out any items that are not a rock or gravel and replace them with gravel such that:

```
garden = 'slug spider rock gravel gravel gravel gravel gravel gravel gravel'
```

Returns a string with all items except a rock or gravel replaced with gravel:

```
garden = 'gravel gravel rock gravel gravel gravel gravel gravel gravel gravel'
```

Please also try the other Kata in this series..

* [Help Suzuki count his vegetables...](https://www.codewars.com/kata/56ff1667cc08cacf4b00171b)
* [Help Suzuki purchase his Tofu!](https://www.codewars.com/kata/57d4ecb8164a67b97c00003c)
* [Help Suzuki pack his coal basket!](https://www.codewars.com/kata/57f09d0bcedb892791000255)
* [Suzuki needs help lining up his students!](https://www.codewars.com/kata/5701800886306a876a001031)
* [How many stairs will Suzuki climb in 20 years?](https://www.codewars.com/kata/56fc55cd1f5a93d68a001d4e)

Difficulty: introductory

Starter code:

def rake_garden(garden):
	

Solutions:
VALID = {'gravel', 'rock'}


def rake_garden(garden):
    return ' '.join(a if a in VALID else 'gravel' for a in garden.split())


def rake_garden(garden):
    return " ".join(w if w == "rock" else "gravel" for w in garden.split())


import re

def rake_garden(garden):
    return re.sub(r'(?<!\S)(?!gravel|rock)\S+', 'gravel', garden)

def rake_garden(garden):
    return " ".join(i if i in "gravelrock" else "gravel" for i in garden.split())

KEEP = ["gravel", "rock"]
REPLACE_WITH = "gravel"

def rake_garden(garden):
    return " ".join([item if item in KEEP else REPLACE_WITH for item in garden.split()])


rake_garden = lambda g: ' '.join('gravel' if e not in ['gravel','rock'] else e for e in g.split())

import re
def rake_garden(g):
  return re.sub(r'\b(?!gravel|rock\b)\w+','gravel',g)

def rake_garden(garden):
    garden = garden.split(" ")
    for i in range(len(garden)):
        if garden[i] != "gravel" and garden[i]!= "rock":
            garden[i] = "gravel"
    return " ".join(garden)

def rake_garden(garden):
    return ' '.join(element  if element == 'gravel' or element == 'rock' else 'gravel' for element in garden.split())

rake_garden = lambda g: " ".join(['gravel', 'rock'][e == 'rock']for e in g.split())