Aug-04-2019, 08:12 AM
It looks like concat_words is meant to take one parameter, a list, not three parameters as you have it set up.
Take a look at this example, and see if it helps you get there:
Take a look at this example, and see if it helps you get there:
words = ['apple', 'orange', 'pear'] for index in range(len(words)): print(index, words[index])Really this should be done with enumerate, but I have a feeling you haven't covered that yet:
words = ['apple', 'orange', 'pear'] for index, word in enumerate(words): print(index, word)
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures