+ 1

Why isn't my triple quote working??

I have made a program like below print("""I am good. And You are vey good.""") My result instead of showing I am good. \nAnd You are vey good. It is showing I am good. And You are vey good.

25th Jun 2018, 6:34 AM
Keshu Bhatta
Keshu Bhatta - avatar
3 Answers
0
this is called multiline strings starting with 3 quotes and ending with 3 quotes, works like <pre> tag in HTML , it's use to create some structured strings etc in your code: print("""I am good. And You are vey good.""") after """i am good there is a space s os triple quotes preserved spaces and line break
25th Jun 2018, 6:52 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
bro full code post gara taa
25th Jun 2018, 6:38 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
print("""I am good. And You are vey good.""")
25th Jun 2018, 6:45 AM
Keshu Bhatta
Keshu Bhatta - avatar