to split a string in Python, we use the split() function.
Inside of this split function in quotes (single or double),
we put the delimiter that we want to break the string up.
This is shown below:
If you were to run this code you would get the following output shown below:
Now if you want to get the value of each of the individual of the string broken up by the delimiter,
in this case a comma, the code would be as shown below:
This gives us the following output shown below:
you can also use this code, such as the following shown below:
This would give us the following output: