How to get output without brackets & commas ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How to get output without brackets & commas ?

words=["python" , "fun"] words.insert(1,"is") print(words) >>> ["python","is","fun"] But i want >>> python is fun

8th Jul 2020, 3:10 AM
W.D.M.M.S.Karunarathna
W.D.M.M.S.Karunarathna - avatar
1 Antwort
+ 4
delimter=" " print(delimeter.join(words))
8th Jul 2020, 3:25 AM
Shobhith J B
Shobhith J B - avatar