0
What is string
3 ответов
+ 5
For more information refer to this lesson :
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2274/
Thanks
+ 3
String in python is a data type that can hold any alpha numerical characters and also special charakters like space or :(&%{. Strings in python are not null terminated. For assigning a string to a variable or just to use it in an other way it has to be enclosed in single, double or tripple quotes.
name = ‘Bob’
city = “London”
color = ‘’’red’’’.
- 1
String is null terminated character array