You are viewing a single comment's thread. Return to all comments →
def camelcase(s): result = 1 for i in s: if(i.isupper()): result = result + 1 return result s = input() result = camelcase(s) print(result)
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 →
For Python3 Platform
I wrote the code from scratch just to get more practice