S=["i"," ","p","l","a","y"] i want this into x="i play", i know we can add each list element, but can u guys tell me how to add each list element using while loop, take a look at this
why x = "" :
you cant add a character to sth. that does not exist😉.
s. pop(0) does two things:
1. it returns first entry of s
2. it deletes first entry from s
for u as beginner the solution from F҉R҉O҉N҉T҉ 🔚& 🔙🔚/ 𝔸𝕣𝕕𝕦𝕚𝕟𝕠 Lover is the best one.
Later u will find short paths.
Yes Oma Falk he is a beginner that's why he asked such questions if he would be knowing your pop function and join function then he would have done it for himself . So I tried to give him a code which dosent use any functions so I gave him this code .
we just dont need to give answer we need to understand the feelings of the asker to ! 😅
But who is disliking it 😅😅😅😅
I just realized my code and your code is same! I didn’t copy. I just tried myself.
But this is s good sign. As zen of python says "There should be preferably one -- only one way to do it" I guess we both hit that way :D :D