0
Can somebody help me with adding words
6 Answers
+ 2
def concatenate(*args):
result = None
for i in args:
if result == None:
result = i
else:
result += "-" + i
return result
print(concatenate("I", "love", "Python", "!"))
+ 1
Hi Izzrafiq Syakrawi
You concat (add words) in python by using the â+â operator between strings
+ 1
Copy this answer and like and check
0
Last question
0
Ok thank you
0
No problem, happy coding!