Python Forum
Adding a paragraph of text before an exercise
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding a paragraph of text before an exercise
#5
(May-05-2018, 11:39 AM)oldDog Wrote: the paragraph of text does not appear on the screen?
You need to call the print() function to see the paragraph in the output:
print("""
    This is a paraghaph with
    my explanations.
""")
You can also do
para = """This new paragraph
explains things even better
"""
print(para)
Reply


Messages In This Thread
RE: Adding a paragraph of text before an exercise - by Gribouillis - May-05-2018, 11:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  docx insert words of previuos paragraph on next paragraph in the same position ctrldan 7 1,318 Jun-20-2023, 10:26 PM
Last Post: Pedroski55
  Help adding prompt text in a Layout using Rich TUI Extra 2 1,697 May-23-2022, 07:15 PM
Last Post: Extra
  How to add run in paragraph using python-docx? toothedsword 0 2,820 May-12-2021, 10:55 AM
Last Post: toothedsword
  Adding markers to Folium map only adding last element. tantony 0 2,168 Oct-16-2019, 03:28 PM
Last Post: tantony
  Adding text to plots shaynehansen 0 3,354 Jul-10-2017, 05:54 PM
Last Post: shaynehansen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020