Programming Principles 1. Week 6. October 7 - 13. PART 2
Delete a fragment
Given a string of Latin letters and spaces. Delete in it all characters with indices from n to m inclusive. Indexation starts from 0.
First line contains text consisting of Latin letters and spaces. Second line contains two integers n and m (n ≤ m).
Print the updated string.
abrakadabra 3 6
This is my lovely beautiful house 7 16
This is beautiful house