Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

double char

#my own code

def doubleChar(str):
  lisp = list(str)
  out = []
  string = ''
  for i in range(len(lisp)):
    out.append(lisp[i])
    out.append(lisp[i])
  for i in range(len(out)):
    string += out[i]
  return string
 
PREVIOUS NEXT
Tagged: #double #char
ADD COMMENT
Topic
Name
2+4 =