+ 3

Today's I ask simple question ?

I see we can print string with like as "Unknown","""Unknown""" But I didn't think it will also work "Unknown"""

17th Dec 2020, 11:50 AM
Sâñtôsh
Sâñtôsh - avatar
10 Answers
+ 4
Try it in code playground.
17th Dec 2020, 12:16 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 3
Såñtösh It doesn't give any error ..
17th Dec 2020, 11:53 AM
Krish
Krish - avatar
+ 3
https://code.sololearn.com/c7ETU7EZcg6C/?ref=app This is the actual link the link of code in the question doesn't work
17th Dec 2020, 1:34 PM
Krish
Krish - avatar
+ 2
Because you can concatenate string without +. Note that this can also be used in C, C++, Ruby, and some other languages. While you can't in Java, C# and some others. https://stackoverflow.com/questions/18842779/string-concatenation-without-operator
17th Dec 2020, 2:01 PM
你知道規則,我也是
你知道規則,我也是 - avatar
+ 2
Yes not possible ofcourse … Really amazing question hahaha
19th Dec 2020, 6:10 AM
LONEWOLF
LONEWOLF - avatar
+ 1
Yes it will also work but mostly we use """ for when we have to use double quotes in it like example :- print(""" ""This is quote"" """)
18th Dec 2020, 7:11 PM
Sayyam Jain
Sayyam Jain - avatar
+ 1
You are new Pelumi Bello , I wanna tell you that, Q&A is not for Conversation.
19th Dec 2020, 7:13 AM
LONEWOLF
LONEWOLF - avatar
+ 1
Pelumi Bello use dm Or feed post for that
19th Dec 2020, 7:20 AM
Krish
Krish - avatar
0
Ok
19th Dec 2020, 7:21 AM
Pelumi Bello
Pelumi Bello - avatar