Contact: aviboots(AT)netvision.net.il
39,938 questions
51,875 answers
573 users
import textwrap s = 'python java c c++ rust php c#' lst = textwrap.wrap(s, width=3) print(lst) ''' run: ['pyt', 'hon', 'jav', 'a c', 'c++', 'rus', 't', 'php', 'c#'] '''