This commit is contained in:
2023-09-25 14:36:26 -04:00
commit dcf0512e25
35 changed files with 1088 additions and 0 deletions

7
Title_Case/title.py Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env python3
def titlecase( string, exceptions ):
pass
assert( titlecase( 'the quick brown fox jumps over the lazy dog', ['jumps', 'the', 'over'] ) == 'The Quick Brown Fox jumps over the Lazy Dog' )
assert( titlecase( 'THE vitamins ARE IN my fresh CALIFORNIA raisins', ['are', 'is', 'in', 'your', 'my'] ) == 'The Vitamins are in my Fresh California Raisins' )