+ 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.
3 Respostas
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
0
bro full code post gara taa
0
print("""I am good.
And You are vey good.""")