• + 0 comments

    For Python3 Platform

    I wrote the code from scratch just to get more practice

    def camelcase(s):
        result = 1
        
        for i in s:
            if(i.isupper()):
                result = result + 1
        
        return result
    
    s = input()
    
    result = camelcase(s)
    
    print(result)