Solve the programming task below in a Python markdown code block.
Given a number, return a string with dash``` '-' ```marks before and after each odd integer,  but do not begin or end the string with a dash mark.

Ex:
Also feel free to reuse/extend the following starter code:
```python
def dashatize(num):
```