Need help with this assignment. Must be in Python Code. Pleaseuse Input, Processing, and Output functions in code.
Create a Python program that asks the user for the name of atext/HTML file that contains HTML tags, such as: <h1>Strings andFiles</h1> <p><strong>This is a boldparagraph.</strong></p>Verify that the file exists and then use string methods to searchfor and remove all HTML tags from the text, saving each removed tagin an array. Display the untagged text and then display the arrayof removed tags. For example: Strings and Files This is a bold paragraph. <h1> </h1> <p> <strong> </strong> </p>
Need help with this assignment. Must be in Python Code. Please use Input, Processing, and Output functions in code. Crea
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am