what is a string? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is a string?

please tell me.

30th Aug 2016, 5:00 PM
Mg Yar Zar Phyo
Mg Yar Zar Phyo - avatar
9 Answers
+ 8
Anything including letters(upper case and lower case) , characters , digits and special symbol kept inside inverted commas(") is something we called string in python. eg- "tao chi" : " 55$633-" "DHDHDJhdh" "#&#&##=?/!," "23€©¥^±×" "teydgGVI253@*&" these all are strings . Basically anything which is kept inside inverted commas are strings. OK
30th Aug 2016, 6:14 PM
LALIT NEGI
LALIT NEGI - avatar
+ 4
It is simply a bunch of characters. In the sense a character is a letter where as string is a word.
30th Aug 2016, 5:32 PM
David Srujan
David Srujan - avatar
+ 2
one of the basic types in python that store text.
1st Sep 2016, 7:59 AM
mahi
mahi - avatar
+ 1
thanks @lalit negi but you forgot about the escape character
30th Aug 2016, 9:30 PM
Ahmed chiboub
Ahmed chiboub - avatar
0
one string is an array of char.
31st Aug 2016, 4:35 AM
Davi Spindola
Davi Spindola - avatar
0
hii l
31st Aug 2016, 5:48 AM
David Srujan
David Srujan - avatar
0
it is very usefull type of data that helps us to manage characters
2nd Sep 2016, 5:52 PM
Luis Arce
Luis Arce - avatar
0
Hindi main hai learn python plz
2nd Oct 2016, 11:48 AM
farid khan
- 2
is the thing that comes out of the spider
30th Aug 2016, 6:57 PM
Joaco3714