so, there is nothing in python so I could say ''.join([
x.capitalize() for x in l --if x not first elmnt-- ]), part between --
being some index test?
Actually you can use Python's ternary to achieve such an effect:
x if Condition else y
Or, in this case,
x.capitalize() if Condition else x.lower()
For example:
>>> def camel(my_string):
... my_list = my_string.split()
... return ''.join([x.lower() if x is my_list[0] else x.capitalize() for x in my_list])
>>> camel("lovely to be here")
'lovelyToBeHere'
Where 'x' is a string piece, 'condition' is if x is my_list[0], and the two options are of course x.lower() and x.capitalize().
Also kind of nice because if you goof up the first part it will lowercase it for you :)
>>> camel("WHat is the problem")
'whatIsTheProblem'
>>>
In most languages it's written as if Condition x else y order, instead of x if Condition else y so a lot of Python folk shy away from it, but personally I think Python's ternary is cool.