Capitalize!

  • + 0 comments
    def solve(s):
        return_name = ""
        for i in s.split(" "):
            return_name = return_name + " " + i.capitalize()
        return return_name.strip()