camelCase to snake_case
Convert camelCase to snake_case: each uppercase letter becomes an underscore plus its lowercase form.
Input: one line with a camelCase identifier starting lowercase.
Output: the snake_case identifier.
Constraints:
- 1 ≤ length ≤ 100
Sample Tests
Input 1
helloWorldNow
Output 1
hello_world_now
Input 2
solo
Output 2
solo
Discussion (opens after you solve — no spoilers before)
No comments yet.