capitalize in python hackerrank solution in python code example
Example: hackerrank capitalize solution
print ' '.join(word.capitalize() for word in raw_input().split(' '))
print ' '.join(word.capitalize() for word in raw_input().split(' '))