title: What's the format for writing an html code inside .py file?
body: <p>I want to put the html code inside .py file, I removed the .html extension file and wrote the html code in .py file, but when I'm running the server it's printing even the triple quotes or whatever I write with the code. Removing the quotes is giving me an error. I want to create modules of .py files instead of html templates.</p>
  
  <p>Here's my website:
  <img src="https://i.stack.imgur.com/VOuYz.png" alt="Here&#39;s the image showing triple-quotes"> 
  and here the code I have for it:
  <img src="https://i.stack.imgur.com/ymewR.png" alt="My code"></p>