If I have string like "combination.py", I want to get the following result using Python:
["com" , "omb", "mbi", "bin", "ina", "nat" , "ati" , "tio", "ion", "on.", "n.p" , ".py"]
I have something that is working quite good, but it’s a really long code, so I’m looking for something short and beautiful. 🙂
Thanks
It is indeed a good habit to look for something “short and beautiful”. Python is quite apt at this. 🙂