Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from string import ascii_uppercase
- def camelcase(s):
- no = 0
- for i in s:
- if i in ascii_uppercase:
- no += 1
- return no + 1
- val = camelcase("oneTwoThree") # All the letters of the First Word should be in Lower Case...
- print(val)
Add Comment
Please, Sign In to add comment