Increase Exclamation Marks and Replace Periods
Problem: Increase Exclamation Marks and Replace Periods
Given a text string, transform it using the following rules:
- For every consecutive group of exclamation marks
!, increase the number o...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
