If you want people to help troubleshoot, you should post code with proper formatting.
See the guide here Markdown for Codewars.
```python
k = 1
c = []
```
becomes:
def order(sentence): k = 1 c = [] etc.
Looking at your solution quickly, it seems that you aren't returning anything you are just using print(c) - try with return(c) instead to see if that works.
print(c)
return(c)
Loading collection data...
If you want people to help troubleshoot, you should post code with proper formatting.
See the guide here Markdown for Codewars.
```python
k = 1
c = []
```
becomes:
Looking at your solution quickly, it seems that you aren't returning anything you are just using
print(c)
- try withreturn(c)
instead to see if that works.