I\'ve already looked at this post about iterable python errors:
"Can only iterable" Python error
But that was about the error \"cannot assign an iterab
splitlist1.reverse(), like many list methods, acts in-place, and therefore returns None. So tobereversedlist1 is therefore None, hence the error.
splitlist1.reverse()
None
tobereversedlist1
You should pass splitlist1 directly:
splitlist1
splitlist1.reverse() reversedlist = ' '.join(splitlist1)