So in this "code playground" the double { " " } is used or { ' ' } (single)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

So in this "code playground" the double { " " } is used or { ' ' } (single)?

in that the single one works here...da,...

12th Aug 2017, 6:07 PM
ISAIAH YEGO 7️⃣
ISAIAH YEGO 7️⃣ - avatar
11 Answers
+ 2
Hey...you can check,,, search on the code playground, if, "AS YOU SEE.."
12th Aug 2017, 6:29 PM
ISAIAH YEGO 7️⃣
ISAIAH YEGO 7️⃣ - avatar
+ 7
What are you saying, I'm not getting you. Be clear please
12th Aug 2017, 6:41 PM
Sachin Artani
Sachin Artani - avatar
+ 6
Both I think
12th Aug 2017, 6:20 PM
Sachin Artani
Sachin Artani - avatar
+ 6
You should try
12th Aug 2017, 6:22 PM
Sachin Artani
Sachin Artani - avatar
+ 6
What? Did it work?
12th Aug 2017, 6:23 PM
Sachin Artani
Sachin Artani - avatar
+ 2
you've tried?..
12th Aug 2017, 6:21 PM
ISAIAH YEGO 7️⃣
ISAIAH YEGO 7️⃣ - avatar
+ 2
well then, how?
12th Aug 2017, 6:23 PM
ISAIAH YEGO 7️⃣
ISAIAH YEGO 7️⃣ - avatar
+ 2
JUST AS YOU SUGGESTED...
12th Aug 2017, 6:27 PM
ISAIAH YEGO 7️⃣
ISAIAH YEGO 7️⃣ - avatar
+ 2
both work. full stop.
12th Aug 2017, 6:50 PM
Martin Ed
Martin Ed - avatar
+ 2
well then I prefer { " " }
12th Aug 2017, 7:40 PM
ISAIAH YEGO 7️⃣
ISAIAH YEGO 7️⃣ - avatar
+ 1
There is no character in python, only strings so both "" and '' define strings
12th Aug 2017, 7:17 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar