def monge():
  i=0
  s=input('code: ')
  m = int(input('nombre de chiffrage souhaiter :'))
  n=s
  while i < m :
    i=i+1
    n=n[-1::-2]+n[0::2]#les character de pos -1 en pos -2
    print(n)

monge()
fcbdd22a5c506027b3191cee44fcc4f215a64f3b
<mask token>

def monge():
    i = 0
    s = input('code: ')
    m = int(input('nombre de chiffrage souhaiter :'))
    n = s
    while i < m:
        i = i + 1
        n = n[-1::-2] + n[0::2]
        print(n)


<mask token>

def monge():
    i = 0
    s = input('code: ')
    m = int(input('nombre de chiffrage souhaiter :'))
    n = s
    while i < m:
        i = i + 1
        n = n[-1::-2] + n[0::2]
        print(n)


monge()

def monge():
  i=0
  s=input('code: ')
  m = int(input('nombre de chiffrage souhaiter :'))
  n=s
  while i < m :
    i=i+1
    n=n[-1::-2]+n[0::2]#les character de pos -1 en pos -2
    print(n)

monge()