0
Explain split method?
name = "Nitin" name.split('i') please explain this code
2 Réponses
+ 4
split method use for split the string.in your code it will split the string from the positions where is i present.output=['N','t','n']
+ 2
Here is a related lesson:
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2456/