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