I would like to separate the following tuple into two lists
(('happy', 5.001), ('neutral', 10.004), ('neutral', 15.006), ('happy', 20.071),
('fear', 25.071))
I want my lists to look like the following:
a = ('happy', 'neutral', 'neutral', 'happy', 'fear')
b = (5.001, 10.004, 15.006, 20.071, 25.071)
The split()
method is not working on this.