Example & Tutorial understanding programming in easy ways.

How we can capitalized first word of the string in Python ?

program:

s="mystring'

print(s.capitalize())

output:

Mystring

Read More →