break-the-ice-with-python icon indicating copy to clipboard operation
break-the-ice-with-python copied to clipboard

Update Day_23.md

Open arutrr0 opened this issue 2 years ago • 0 comments

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)

arutrr0 avatar Mar 11 '23 13:03 arutrr0