Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

capitalize python

string=str("caPiTalIZE")
print(string.capitalize())
	#output : Capitalize
Comment

python capitalize

  capitalize() - Converts the first character to upper case # e.g. "grepper".capitalize() => "Grepper"
Comment

how to make a letter capital in python

s = "hello openGeNus"
t = s.title()
print(t)
PythonCopy
Comment

Python Program to capitalize a string

text ="welcome to PYTHON Tutorial"

# capitalizes the first letter in string 
# and keeps the rest of the string in lowercase
captialized_text= text.capitalize()

print(captialized_text)
Comment

PREVIOUS NEXT
Code Example
Python :: python zip function 
Python :: python range function 
Python :: pysftp get-r 
Python :: how to check the version of ployly 
Python :: wxpython mainloop 
Python :: tcs question 
Python :: pivot_table value aggfunct 
Python :: python get_loc not returning number 
Python :: numpy np sign change in df pandas zero crossing 
Python :: plot row vs column in dataframe python 
Python :: flask_uploads.exceptions.UploadNotAllowed 
Python :: is not and != difference in python 
Python :: QuizListView login required django 
Python :: cv2 leave only the biggest blob 
Python :: python crear variables 
Python :: error 302 heroku django 
Python :: how to loadh5 file in python 
Python :: python turtle documentation 
Python :: python 3.10 windows 7 
Python :: dictionary comprehension 
Python :: django abstractuser fields 
Python :: python encryption program 
Python :: if else condition python 
Python :: python order list of dictionaries by value 
Python :: python string caps lock 
Python :: if else usage python 
Python :: how to convert user integer input to string in python 
Python :: python ValueError: zero-size array to reduction operation maximum which has no identity 
Python :: sign python 
Python :: Matching a pattern in python 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =