Title Repeating Characters of a String (Case 1)
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/py_str_repeat_chars__664e2e4391363872f0ba34d6?index=0
Platform Name PCEX
Features
Description Construct a program that has a function that receives a string and creates a new string that has each character of the given string repeated two times.\nFor example, the new string that will be formed from the string 'abc' is 'aabbcc'.
Keywords
Author Mohammad Hassany
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/py_str_repeat_chars__664e2e4391363872f0ba34d6?index=0
Protocol SPLICE
Protocol URL
License MIT
Programming Language PYTHON
Natural Language en

Preview

SPLICE Output