Your question is String and Array Manipulation. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Vericast campaign content may contain punctuation and spacing that must remain fixed while its alphanumeric characters are reversed. Implement a function that transforms the text and reverses a related integer array in place.
text. Non-alphanumeric characters, including spaces and punctuation, must remain at their original indices.values in place and return the transformed text together with the same array object.reversed() or .reverse() methods.text, a string containing ASCII letters, digits, spaces, and punctuation; values, a list of integers.[transformed_text, values], where transformed_text contains the reversed alphanumeric characters and values is reversed in place.def reverse_campaign_content(text, values):