# Sentence Smash
Write a function that takes an array of words and smashes them together into a sentence and returns the sentence. You can ignore any need to sanitize words or add punctuation, but you should add spaces between each word. **Be careful, there shouldn't be a space at the beginning or the end of the sentence!**
## Example
```
['hello', 'world', 'this', 'is', 'great']  =>  'hello world this is great'
```
def smash(words):
    if len(words) != 0:
        a = ' '.join(words)
        return a
    elif len(words) == 1:
        a = words[0]
        return a
    else:
        a = ''
        return a
def smash(words):
    if len(words) != 0:
        a = ' '.join(words)
        return a
    elif len(words) == 1:
        a = words[0]
        return a
    else:
        a = ''
        return a