Title Given a string s and a character c (as string of length 1), return a string with the characters surrounding the first occurrence of c reversed.
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-python-OtherStringOperations-8
Platform Name CodeCheck
Features Code Completion
Description Given a string s and a character c (as string of length 1), return a string with the characters surrounding the first occurrence of c reversed. For example, if s is 'Hello' and c is 'l', return 'Hlleo'.
Keywords
,
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-python-OtherStringOperations-8
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Python
Natural Language en

Preview

SPLICE Output