String to list
Return the given string in list format.
Sample Code:
def stringArr(str):
# Enter your logic here...
Examples:
Input: 'Monday,Tuesday,Wednesday'
Output: ['Monday','Tuesday','Wednesday']
Explanation: Each element is separated by a comma.
Input: 'ReactJS,NodeJS,Postgres'
Output: ['ReactJS','NodeJS','Postgres']
Explanation: Each element is separated by a comma.