+ 1
Can someone help me with last 3questions for Python?1.On file handling,2.On OOP(juice maker),adding words(last topic in python3)
9 Answers
0
Python3
0
Can you please link your attempts here?
0
Sure
0
def concatenate(*args):
for i in args:
print(i,end = "-")
print(concatenate("I", "love", "Python", "!"))
0
You have 2 prints in your code: Once in the function and once below.
I suggest you just concatenate the string inside your function and then return the whole string.
0
Example?
0
new_str = ""
for word in word_list:
new_str += word
0
Can we talk on WhatsApp please
0
+254793785558