Answers for "split mid string python"

2

split string in the middle python

firstpart, secondpart = string[:len(string)/2], string[len(string)/2:]
Posted by: Guest on October-15-2020
2

python split string

txt = "hello, my name is Peter, I am 26 years old"

x = txt.split(", ")
Posted by: Guest on July-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language