What does ' ' mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What does ' ' mean?

('Z')

3rd Jun 2019, 5:12 PM
Mike Harris
Mike Harris - avatar
9 Answers
+ 4
It is used to denote a single character.and double quotes is used to denote word
4th Jun 2019, 5:03 PM
M.MANIVANNAN
M.MANIVANNAN - avatar
+ 3
In C and C++ ,single quotes is used to define a char while double quotes is used to define a string. In Python,there is no difference
3rd Jun 2019, 5:20 PM
Geek
Geek - avatar
+ 2
Blank space / literals 🤨
5th Jun 2019, 4:20 AM
Sanjay Kamath
Sanjay Kamath - avatar
+ 1
It is used to define a string
3rd Jun 2019, 5:14 PM
Geek
Geek - avatar
+ 1
It means chapter
3rd Jun 2019, 8:02 PM
Basel.Al_hajeri?.MBH()
Basel.Al_hajeri?.MBH() - avatar
0
So is it the same as " "?
3rd Jun 2019, 5:15 PM
Mike Harris
Mike Harris - avatar
0
Strings are created by wrapping characters with either single or double quotes (under most circumstances).
3rd Jun 2019, 5:23 PM
ScriptNasty
ScriptNasty - avatar
0
In Python you can create strings (text objects) using a pair of single quotes ' '. Any character between the quotes would belong to the string.
3rd Jun 2019, 7:25 PM
Seb TheS
Seb TheS - avatar
0
Geek In Python " is same than ', you can create strings using a pair of " " or a pair of ' ', but never using one of both " '
4th Jun 2019, 6:50 PM
Seb TheS
Seb TheS - avatar