Answers for "split string into 3 characters python"

6

python split string in characters

s = "foobar"
list(s)
['f', 'o', 'o', 'b', 'a', 'r']
Posted by: Guest on January-25-2021

Code answers related to "split string into 3 characters python"

Python Answers by Framework

Browse Popular Code Answers by Language