The delimiter (" or ') used for a string doesn't affect how it behaves in any way. Can anyone explain the above statemen | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

The delimiter (" or ') used for a string doesn't affect how it behaves in any way. Can anyone explain the above statemen

31st Aug 2020, 11:15 PM
Manzoor.M
Manzoor.M - avatar
7 Answers
+ 2
Tag a specific language in addition to 'strings' in the original post above please ☝
31st Aug 2020, 11:42 PM
Ipang
+ 1
In this statement writer say that you can write string either in double quotes (") or in single quote(') . Here ("or') refers to double quote or single quote, he use symbols instead of writing double quote or single quote. Let us see example: print("Hello world") or print(' Hello World') gives same output. And Now you think that what is delimiter ? A delimiter can be defined as a string that occurs in the form of a space, comma, semicolon, colon, and any other character. The function outputs the starting and ending of the character string, word, or data item
15th Oct 2022, 1:23 PM
Sameep Sadotra
Sameep Sadotra - avatar
0
Done
31st Aug 2020, 11:43 PM
Manzoor.M
Manzoor.M - avatar
0
Thanks for understanding mate 👍 Now can you tell me, is this problem related with splitting a string, or is this for another case? And show here your code so people can understand this better.
31st Aug 2020, 11:46 PM
Ipang
0
It's not my code It's just that I didn't quite understand the statement so I asked for help
31st Aug 2020, 11:48 PM
Manzoor.M
Manzoor.M - avatar
0
Have you gotten it figured out? I wish I could help some more, but I didn't really get the question. Maybe you can tell where you read that statement?
9th Sep 2020, 3:09 AM
Ipang
0
I got it
14th Sep 2020, 7:05 PM
Manzoor.M
Manzoor.M - avatar