Title Concatenating Characters of Two Strings
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_concat_char_two_str&ch=py_concat_char_two_str2
Platform Name PCEX
Features
Description Construct a program that has a function that receives two strings and returns a string formed from the given strings separated by a space character such that the first two characters of the given strings are swapped.\nFor example, the new string that will be formed from the strings 'abc' and 'xyz' is 'xyc abz'.\nAssume that both strings have at least two characters.
Keywords strings
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_concat_char_two_str&ch=py_concat_char_two_str2
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview