Convert short PHP script to Python
Convert short PHP script to Python
Here it is, in Python:
SSSSSSSSSSSSSsssssssssssssssss SSSSSSSSSSSSSSssssssssssssss
But really:
>>> lines = []
>>> for i in range(0,len(words),5):
line = .join(words[i:i+5])
lines.append(line)
>>> out = n.join(lines)