Can someone tell me why i get None at the end please this has me stuck for ages

Gary Wood woodygar at
Mon Feb 23 14:22:16 EST 2009

'''exercise to complete and test this function'''
import string
def joinStrings(items):
    '''Join all the strings in stringList into one string,
    and return the result. For example:
    >>> print joinStrings(['very', 'hot', 'day'])
    word = [items]
    for item in items:
         print (item, end='')
def main():
    print(joinStrings(['very', 'hot','day']))
    print(joinStrings(['this', 'is','it']))
    print(joinStrings(['1', '2', '3', '4', '5']))


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list