-capatalize() is a python string function which is used to capatilized the starting alphabet of the given string.
Example-
string is mytext
then it will become Mytext
string is sometimes
it will become Sometimes
string is program
it will become Program
program-
print("Enter any string")
s=input()
print("Original string is ",s)
print("String with first letter capital is ",s.capitalize())
output-
Enter any string
programming
Original string is programming
String with first letter capital is Programming
Enter any string
something
Original string is something
String with first letter capital is Something