I am new to Python, so I might be missing something simple.
I am given an example:
string = "The , world , is , a , happy , place "
I have to create substrings separated by ,
and print them and process instances separately.
That means in this example I should be able to print
The
world
is
a
happy
place
What approach can I take? I was trying to use the string find functionality, but
Str[0: Str.find(",") ]
does not help in finding 2nd, 3rd instances.