How do I get datalist to string?
>>> days = 24/6
>>> print days
4
>>> hours = 45/7
>>> print hours
6
>>> datalist = []
>>> datalist.append(days)
>>> datalist.append(" days ")
>>> print datalist
[4, ' days ']
>>> datalist_str = "".join(datalist)
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
TypeError: sequence item 0: expected string, int found