I don't understand why and where strings are actually used for?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I don't understand why and where strings are actually used for??

Python

8th Jun 2019, 1:39 PM
Javed Shaikh
Javed Shaikh - avatar
9 Answers
+ 4
To ask this question, you used strings
10th Jun 2019, 11:55 AM
Dan Rhamba
Dan Rhamba - avatar
+ 2
Strings are used to output human readable text.
8th Jun 2019, 2:19 PM
Seb TheS
Seb TheS - avatar
+ 2
Strings are used to make words or some text!
8th Jun 2019, 2:25 PM
CodeFu
CodeFu - avatar
+ 2
Strings in any programming language are used for raw text processing!
10th Jun 2019, 1:29 AM
Suraj Singh
Suraj Singh - avatar
+ 1
a="here"
8th Jun 2019, 1:41 PM
Basel.Al_hajeri?.MBH()
Basel.Al_hajeri?.MBH() - avatar
+ 1
To put our string
8th Jun 2019, 1:41 PM
Basel.Al_hajeri?.MBH()
Basel.Al_hajeri?.MBH() - avatar
+ 1
Everything, in real word,is string: a word, a phrase, a book, a link, a mail. Even songs and pictures can be mapped to printable strings. Instead of strings we can have binary flows of data, more difficult to handle.
8th Jun 2019, 1:47 PM
Bilbo Baggins
Bilbo Baggins - avatar
+ 1
The title of your question, body of your question, the tags, this reply, the name of a file, an email address, etc. All strings.
8th Jun 2019, 5:04 PM
Vlad Serbu
Vlad Serbu - avatar
0
The world will crash w/o strings!
9th Jun 2019, 6:16 PM
Kirill Smirnov
Kirill Smirnov - avatar