Skip to main content
The National Cipher Challenge

Reply To: 9B

#99109
EV
Participant

test_str = “Put your letters here but without spaces”
separator = ” ”
res = ” “

#Change the sixes to the length of the blocks of letters/characters you want
for i in range (0, len(test_str), 6):
res += test_str[i:i + 6] + separator

res = res [:-1]
print(res)

Report a problem