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
#1
I have only just started to learn Python and hope someone will be kind enough to help me. I am reading and doing the exercises from the book "Learn Python 3 the Hard Way" and before each exercise i would like to add a paragraph of text which explains in my own words what the exercise is all about. I don't want to add the '#' character because that will comment everything out and only i will be able to see the text. When i tried using triple quotes i got an error. I don't think putting 'print' before each and every line is the answer either. Would someone help me out here please. Big thanks
Reply


Messages In This Thread
Adding a paragraph of text before an exercise - by oldDog - May-05-2018, 06:43 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,256 Jun-20-2023, 10:26 PM
Last Post: Pedroski55
  Help adding prompt text in a Layout using Rich TUI Extra 2 1,664 May-23-2022, 07:15 PM
Last Post: Extra
  How to add run in paragraph using python-docx? toothedsword 0 2,797 May-12-2021, 10:55 AM
Last Post: toothedsword
  Adding markers to Folium map only adding last element. tantony 0 2,134 Oct-16-2019, 03:28 PM
Last Post: tantony
  Adding text to plots shaynehansen 0 3,333 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