Here's an example of what the program's output might look like:
Enter a string: Hello, world!
['H', 'e', 'l', 'l', 'o', ',', ' ', 'w', 'o', 'r', 'l', 'd', '!']
In this example, the user entered the string "Hello, world!", and the program separated each character of the
string into individual elements of a list, which is displayed as the output.
Python Program To Separate Characters In A Given String #How to split a string before specific character in Python #Python split string into list