You are viewing a single comment's thread. Return to all comments →
k=len(s) w=[] r=int(math.sqrt(k)) f=r+1 for i in range(0,r+1): for j in range(i,len(s),f): w.append(s[j]) w.append(" ") w.pop() w="".join(w) return(w)
Seems like cookies are disabled on this browser, please enable them to open this website
Encryption
You are viewing a single comment's thread. Return to all comments →
k=len(s) w=[] r=int(math.sqrt(k)) f=r+1 for i in range(0,r+1): for j in range(i,len(s),f): w.append(s[j]) w.append(" ") w.pop() w="".join(w) return(w)