I've found this question and one thing in the original code bugs me:
>>> x="Alpha_beta_Gamma"
>>> words = [y for y in x.split('_')]
What's the point of doing this: [y for y in x.split('_')]
? split
already returns a list and items aren't manipulated in this list comprehension. Am I missing something?