4 ms·
result = {os.path.getsize(f): f for f in os.listdir() if os.path.isfile(f)} result = ' '.join(word.capitalize() for word in string.split(' ')) result =
by pseudalopex 2y ago
result = {os.path.getsize(f): f for f in os.listdir() if os.path.isfile(f)}
result = ' '.join(word.capitalize() for word in string.split(' '))
result = ' '.join(map(str.capitalize, string.split(' ')))
result = string.title()