Posts by Francis Guedes • 21 points
2 posts
-
0
votes1
answer50
viewsA: How to find repeated character blocks within a string?
I credit that with the regular expression library "re" you can solve this your problem, if you want some help with the code you could pass examples of input that will be passed and what you expect…
-
2
votes3
answers155
viewsA: Simple question about the title() command
Using the idea of the friend above I made a function to give you an idea to maybe solve your problem. def newTitle(name): name=name.split(' ') exceptions=['da','de'] titledName='' for i in name: if…