Question
Mention the use of the split function in Python?
Answer
The use of the split function in Python is that it breaks a string into shorter strings using the defined separator. It gives a list of all words present in the string.
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.