Daily challenge for 2025-01-31
31. Length of Last Word
Write a function solve that returns the length of the last word in a string.
Example:Input: "Hello World"Output: 5
Run this challenge interactively in Python or JavaScript when the app loads.