SMS function
CodeChefOpen on judge ↗
Write python function, abbreviation() which gets an English statement and converts it into an abbreviated statement to be sent as short message service and returns the abbreviated sentence. Rules are as follows: a. Spaces are to be retained as it is b. Each word should be abbreviated separately • If a word has only vowels then retain the word as it is • If a word has a consonant (at least 1)
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start