Comment Comment by ndand You can capitalize a string in Python using functional style ' '.join(map(str.capitalize, string.split(' '))) which is similar to the example in Ruby, except the operations are written in reverse order. parent ndand 2 years ago