String in python part1 | Python tutorial in Hindi

Опубликовано: 27 Февраль 2021
на канале: CodeWithRajat
2
0

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


На этой странице сайта вы можете посмотреть видео онлайн String in python part1 | Python tutorial in Hindi длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь CodeWithRajat 27 Февраль 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2 раз и оно понравилось 0 зрителям. Приятного просмотра!