horstmann/codecheck-python-OtherStringOperations-8
Platform Name
CodeCheck
Exercise Type
Code Completion
Language
Python
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
Strings
,
Other String Operations
URL
https://codecheck.io/files/horstmann/codecheck-python-OtherStringOperations-8
Author
Cay Horstmann
Institution
San José State University
Iframe URL
https://codecheck.io/files/horstmann/codecheck-python-OtherStringOperations-8
LTI URL
https://codecheck.io/files/horstmann/codecheck-python-OtherStringOperations-8
LTI Instructions URL
https://horstmann.com/codecheck/lti.html
Preview