Format Kabaddi Team Match Scores
Format Kabaddi Team Match Scores
EasyStrings0% accepted
Ravi reports on kabaddi matches for a sports channel. Team scores must be formatted consistently as 'TeamName: XY points' where single-digit scores are padded with a leading zero (e.g., 'Mumbai Raiders: 07 points').
Approach
Given team names and scores, format each as 'TeamName: XY points' padding single-digit scores with a leading zero.
Input
[["Mumbai Raiders", 7], ["Delhi Defenders", 42]]
Output
["Mumbai Raiders: 07 points","Delhi Defenders: 42 points"]
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