Aug-04-2019, 03:45 AM
Complete the program (i.e. implement the function concat_words ) so that it will print the
output as shown:
[1-apple*2-orange*3-pear*]
Answer:
all_words = concat_words(['apple', 'orange', 'pear'])
print ('[' + all_words + ']')
output as shown:
[1-apple*2-orange*3-pear*]
Answer:
all_words = concat_words(['apple', 'orange', 'pear'])
print ('[' + all_words + ']')