In Python

In Python

Write a program to read a file with html “helpers” and produce html output in a new file.

Output any input errors at the bottom of your file.

It will have to be prepared for whatever is in the file.

Here are the “helpers” that have to be handled:

  • h1, h2, h3, h4, h5 (headings)
  • p (paragraph)
  • b (bold text)
  • ol (ordered list)
  • ul (unordered list)

syntax:

  • for headings: h1(heading 1), etc
  • for paragraphs: p(Line one)
  • for bold text: b(text bold)
  • for lists: ul(item 1,item 2,item 3) (similar for ol)

output:

  • headings: < h1 >heading< /h1 > (and 2,3,4,5)
  • paragraph: < p >Line one< /p >
  • bold: < b >text bold< /b >
  • lists: < ul > < li >item 1< /li > < li >item 2< /li > < li >item 3< /l i> < /ul > (ol similar)

input:

H1(This is a possible input file for the final exam)

H3(Part One)

P(The following is an unordered list:)

UL(one two,three four five,six)

P(This is an ordered list:)

OL(six,three four five,one two)

B(Important! This is only an example)

output:

< h1 >This is a possible input file for the final exam< /h1 >

< h3 >Part One h3 >

< p >The following is an unordered list:< /p >

< ul >< li >one two< /li >< li >three four five< /li >< li >six< /li >< /ul >

< p >This is an ordered list< /p>

< ol >< li >six< /li >< li >three four five< /li >< li >one two< /li >< /ol >

< b >Important! This is only an example< /b >

Hide 

Calculate the price of your order

Simple Order Process

Fill in the Order Form

Share all the assignment information. Including the instructions, provided reading materials, grading rubric, number of pages, the required formatting, deadline, and your academic level. Provide any information and announcements shared by the professor. Choose your preferred writer if you have one.

Get Your Order Assigned

Once we receive your order form, we will select the best writer from our pool of experts to fit your assignment.

Share More Data if Needed

You will receive a confirmation email when a writer has been assigned your task. The writer may contact you if they need any additional information or clarifications regarding your task

Let Our Essay Writer Do Their Job

Once you entrust us with your academic task, our skilled writers embark on creating your paper entirely from the ground up. Through rigorous research and unwavering commitment to your guidelines, our experts meticulously craft every aspect of your paper. Our process ensures that your essay is not only original but also aligned with your specific requirements, making certain that the final piece surpasses your expectations.

Quality Checks and Proofreading

Upon the completion of your paper, it undergoes a meticulous review by our dedicated Quality and Proofreading department. This crucial step ensures not only the originality of the content but also its alignment with the highest academic standards. Our seasoned experts conduct thorough checks, meticulously examining every facet of your paper, including grammar, structure, coherence, and proper citation. This comprehensive review process guarantees that the final product you receive not only meets our stringent quality benchmarks but also reflects your dedication to academic excellence.

Review and Download the Final Draft

If you find that any part of the paper does not meet the initial instructions, send it back to us with your feedback, and we will make the necessary adjustments.