+ 1

I'm not able to solve "adding words" program in python.please provide me a solution

3rd Nov 2020, 12:51 PM
Yash Suthar
Yash Suthar - avatar
3 Respostas
+ 6
def concatenate(*args): return("-".join(args)) print(concatenate("I", "love", "Python", "!")) Thanks. I did it..
3rd Nov 2020, 1:50 PM
Yash Suthar
Yash Suthar - avatar
+ 3
Show ur attempt may be we can help u :)
3rd Nov 2020, 12:52 PM
Atul
Atul - avatar
0
Use "return" in concatenate function, not print
3rd Nov 2020, 1:10 PM
Benjamin Jürgens
Benjamin Jürgens - avatar