Header Ads

Python String Codes

basic string commands


Python String Codes


Python basic string commands.

len ( )   =   Measures the length of the string.

.input ( )  =    We enter data from outside.

.capitalize ( )  =  Magnifies the first letter.

.index   =  ("...")  =  Counts the number of letters.

.upper ( )   = Enlarges all letters.

.split ( )  =  Separates words.

No comments

Powered by Blogger.