0
Can we create a multiple lines of prints in a single print statement like in other languages we use"\n"
6 odpowiedzi
+ 2
I recommend you to use triple ", example:
print("""this
will
print all,
regardless of
the lines""")
Regards
+ 1
1) You can use the number you want, Infinites!
Example
print("asdasd" + """1
2
3
4""" + "end")
2)Yes, using \n.
Example:
print('Line1 \n Line2 \n Line3' + 'also you can add more words \n and lines' + """"and combine
with quotes""")
+ 1
yes, you can
0
Sorry but I don't understand your question...
0
To print a statement we will use quotes(" ") so my question is
1)in a single print statement how many quotes(" ")we can use
2)without quotes(" ")can we run a print line with multiple statements like you a gave an example above
0
thanks for the answer I got it