You are viewing a single comment's thread. Return to all comments →
Python 3
def camelcase(s): return 1 + sum([int(letter.isupper()) for letter in s])
Seems like cookies are disabled on this browser, please enable them to open this website
CamelCase
You are viewing a single comment's thread. Return to all comments →
Python 3