Please help me with Python
Suppose that I have a string (input)
a = '0,200, 15,550, 25,977, 99,1489\n'
I want the output of this string to be:
b = [0, 200, 15, 550, 25, 977, 99, 1489]
c = [(0, 200), (15, 550), (25, 977), (99, 1489)]
d = ['0', '200', '15', '550', '25', '977', '99', '1489']
How can I do this in Python for each case?