You need to write a function that takes multiple words as its argument and returns a concatenated version of those words separat | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

You need to write a function that takes multiple words as its argument and returns a concatenated version of those words separat

Help me

29th Jul 2021, 12:44 PM
Mohamed Amine Ouljihad
Mohamed Amine Ouljihad - avatar
2 Answers
+ 1
M.A.O ْ How about this one? :- def foo(*args): return "".join(args) # Hope this helps
29th Jul 2021, 4:12 PM
Calvin Thomas
Calvin Thomas - avatar