logo-MindMajix
PostPythonPython
A
Anusha V

Posted on 24th July 2024|14 views

0
votes

Python Split String Into List

How to split a string into a list in python?

1 answers
Answers
P
imran mohammad

Posted on 24th July 2024| views

There are two different methods by which we can split a string in Python the methods are:

  1. str.split()
  2. shlex.split()

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number