jweinst1
9/20/2015 - 5:22 AM

strmodfunctions.py

strmodfunctions.py

def join_with_spaces(lst):
	#joins together lists of strings into sentences
	index, counter, string = len(lst), 1, lst[0]
	while counter < index:
		string += ' '
		string += lst[counter]
		counter += 1
	return string