Capitalize!

  • + 0 comments
    def solve(s):
        lis = s.split(" ")
        
        s = lis[0].capitalize()
        for i in range(1, len(lis)):
            s += " " + lis[i].capitalize()
            
        return s