readme-script

This commit is contained in:
Rohit Tanwar
2018-02-20 22:42:11 +05:30
parent 7cc78ca4c4
commit 385bf72a3e
34 changed files with 222 additions and 161 deletions

View File

@ -1,2 +1,2 @@
def decapitalize(string, upper_rest=False):
def decapitalize(string, upper_rest=False):
return str[:1].lower() + (str[1:].upper() if upper_rest else str[1:])