How to write paragraph? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to write paragraph?

Please help.

22nd Dec 2020, 3:36 AM
Mind Flayer
Mind Flayer - avatar
7 Answers
+ 3
In html, use the <p> tag.
22nd Dec 2020, 4:25 AM
Sonic
Sonic - avatar
+ 4
Yes Jan Markus is right, your question is unclear so please clarify your question next time but I will try to guess what you're referring to based on your profile. Maybe you're reffering to this: print(""" This is a paragraph. This has indention in the first sentence. And this paragraph is printed in console. I used Three quotation marks to print multiple lines. Please clarify your question next time. """) Or this: """ This is a docstring used to make multiple line comments using three quotation marks. And you can write paragraph you want with this and will be ignored by interpreter. Use search bar next time. Happy Coding! """
22nd Dec 2020, 4:18 AM
noteve
noteve - avatar
+ 2
Thanks
22nd Dec 2020, 4:19 AM
Mind Flayer
Mind Flayer - avatar
+ 2
Ok bro. I know
22nd Dec 2020, 4:30 AM
Mind Flayer
Mind Flayer - avatar
+ 1
I want to print a paragraph in python 3. How to do that?
22nd Dec 2020, 4:13 AM
Mind Flayer
Mind Flayer - avatar
+ 1
M.M.Mishaf HASAN my answer is not related to Python 3.
22nd Dec 2020, 4:27 AM
Sonic
Sonic - avatar
+ 1
Do you mean something like this? msg = "This is the first line.\nThis is the second line.\n\nContinue after a blank line." print(msg) You can insert newline characters "\n" into strings in order to get line breaks and paragraphs.
22nd Dec 2020, 8:35 AM
Lisa
Lisa - avatar