fork download
  1. def parkan(s):
  2. w = ""
  3. for i in range(0, len(s), 3):
  4. w = w + s[i]
  5. for i in range(1, len(s), 3):
  6. w = w + s[i]
  7. return w
  8. print(parkan("francuzmordo"))
Success #stdin #stdout 0.01s 7160KB
stdin
Standard input is empty
stdout
fnzrrcmd