@@ -0,0 +1,234 @@
+class Solution:%0A    # @param %7Bstring%7D s A string%0A    # @return %7Bint%7D the length of last word%0A    def lengthOfLastWord(self, s):%0A        # Write your code here%0A        if s == '':%0A            return 0%0A        return len(s.split()%5B-1%5D)%0A

Create length-of-last-word.py