Answers for "python split string for char"

0

how to split word in python

text= "I am Batman"
splitted_text= text.split()

Print(splitted_text)
Posted by: Guest on September-02-2020
0

how to save string characters into char array or list in python

fd = open(filename, 'rU')
chars = []
for line in fd:
    chars.extend(line)
Posted by: Guest on December-17-2020

Code answers related to "python split string for char"

Python Answers by Framework

Browse Popular Code Answers by Language