Given: A string s of length at most 200 letters and four integers a, b, c and d.
Return: The slice of this string from indices a through b and c through d (with space in between), inclusively.
Given: A string s of length at most 200 letters and four integers a, b, c and d.
Return: The slice of this string from indices a through b and c through d (with space in between), inclusively.
The rules specifically state "Do provide evidence of having done some work yourself if posting questions from school or work assignments"
Please show the code you have so far and explain where you are stuck, then you might recieve some help. I've had to write this so many times that I might as well save it for copy and pasting later.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.