Daily challenge for 2025-05-21
141. Detect Capital
Write a function solve that checks if a word uses capitalization correctly (all uppercase, all lowercase, or only first letter uppercase).
Example:Input: "USA"Output: true
Run this challenge interactively in Python or JavaScript when the app loads.