Count Debate Keywords in MUN Speech
Count Debate Keywords in MUN Speech
EasyStrings0% accepted
Meera judges MUN debates in Delhi. To score fairly, she counts occurrences of key debate terms like 'resolution' and 'amendment' in speeches. Count how many times a keyword appears in a given speech (case-insensitive).
Approach
Given a debate speech and a keyword, count how many times the keyword appears in the speech, ignoring case differences.
Input
The resolution is clear. This resolution must pass.
resolution
Output
2
More Strings problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards