ALL,
I have a following list:
["abc", "def", 'ghi"]
What I need to get from it is a string:
"abc,def,ghi"
There is a comma between first and second element, but not at the end of the string.
Unfortunately, Python does not have a construction like:
std::string str;
for( int i = 0; i < 3; i++ )
{
str += list[i];
if( i != 2 )
str += ",";
}
How do I do it in Python?