You are viewing a single comment's thread. Return to all comments →
import math s=input() sm=s.replace(" ","") r=math.floor(math.sqrt(len(sm))) c=math.ceil(math.sqrt(len(sm))) for i in range(c): print(sm[i::c],end=" ")
short and sweet. that's why you gotta love python
Encryption
You are viewing a single comment's thread. Return to all comments →
short and sweet. that's why you gotta love python