lower and upper method in python | string methods in python | Python Tutorials 2023

Publié le: 22 janvier 2024
sur la chaîne: ThingsYouMustKnow
21
3

lower() & upper() method in Python


In Python, the lower() and upper() methods are used to
convert strings to lowercase and uppercase, respectively.

lower() method:

The lower() method returns a new string with all
the alphabetic characters in the original string
converted to lowercase.It does not modify the original
string; instead, it creates and returns a new string.

upper() method:

The upper() method returns a new string with all
the alphabetic characters in the original string
converted to uppercase.Like lower(), it does not
modify the original string; instead, it creates
and returns a new string.

Please watch Video.....!!!!!!


Sur cette page du site, vous pouvez voir la vidéo en ligne lower and upper method in python | string methods in python | Python Tutorials 2023 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur ThingsYouMustKnow 22 janvier 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 21 fois et il a aimé 3 téléspectateurs. Bon visionnage!