You are viewing a single comment's thread. Return to all comments →
def camelcase(s): if len(s) == 0: return 0 capitals = [c for c in s if 64 < ord(c) < 96] return len(capitals) + 1 `
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 →
def camelcase(s): if len(s) == 0: return 0 capitals = [c for c in s if 64 < ord(c) < 96] return len(capitals) + 1 `