Title Given a string, return the string with the first and second half swapped.
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-python-StringsNoLoops-4
Platform Name CodeCheck
Features Code Completion
Description Given a string, return the string with the first and second half swapped. If the string has odd length, leave the middle character in place.
Keywords Strings, No Loops
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-python-StringsNoLoops-4
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