break-the-ice-with-python
break-the-ice-with-python copied to clipboard
Update Day_23.md
Question 96:
def splitter(word, width): while len(word) > 0: snippet = "" if len(word) < width: width = len(word) for i in range(width): snippet += word[i] print(snippet) word = word[width:]
splitter("ABCDEFGHIJKLIMNOQRSTUVWXYZ", 4)