String in python part1 | Python tutorial in Hindi
Strings are amongst the most popular types in Python. We can create them simply by enclosing characters in quotes. Python treats single quotes the same as double quotes. Creating strings is as simple as assigning a value to a variable. For example −
var1 = 'Hello World!'
var2 = "Python Programming"
Updating Strings
You can "update" an existing string by (re)assigning a variable to another string. The new value can be related to its previous value or to a completely different string altogether. For example −
Live Demo
#!/usr/bin/python
Sur cette page du site, vous pouvez voir la vidéo en ligne String in python part1 | Python tutorial in Hindi durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur CodeWithRajat 27 février 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2 fois et il a aimé 0 téléspectateurs. Bon visionnage!