Daily challenge for 2025-04-07
97. Count Words in a String
Write a function solve that counts the number of words in a string. Words are separated by spaces.
Example:Input: "Hello world, how are you?"Output: 5
Run this challenge interactively in Python or JavaScript when the app loads.