YUNOVA · Python programming · Module 6: Strings
Python me split() aur join()
Python me split() aur join()
Key points
- split() एक string को टुकड़ों की list बना देता है।
- बिना कुछ दिए यह space पर तोड़ता है; comma देकर comma पर।
- join() इसका उल्टा है: टुकड़ों को जोड़कर एक string बनाता है।