Write a program to capitalize the first letter of every word in a string and print it


Topic: Write a program to capitalize the first letter of every word in a string and print it

Solution

string = 'The quick brown fox jumps over the lazy dog'
print(string.title())



List all Python Programs