Question: help with coding 11. Personal Web Page Generator Write a program that asks the user for his or her name, then asks the user to

11. Personal Web Page Generator Write a program that asks the user for his or her name, then asks the user to enter a sentence that describes himself or herself. Here is an example of the program's screen: Enter your name: Julie Taylor Enter Describe yourself: I am a computer science major, a member of the Jazz club, and I hope to work as a mobile app developer after I graduate. Enter Once the user has entered the requested input, the program should create an HTML file, containing the input, for a simple Web page. Here is an example of the HTML content, using the sample input previously shown: head>
Julie Taylor I am a computer science major, a member of the Jazz club, and I hope to work as a mobile app developer after I graduate. body > /htm1 Requirements : 1. Use easy to understand input and output. 2. Use variable names which are reflective of their meaning. 4. Use a sufficient number of comments to make your code understandable. 5. Run a sufficient number of sample cases to confirm that you program is working. -6. Add one non-trivial additional feature to your code going beyond the basic problem statement above. (Research Python and html code online - document your new feature with code comments.) Starter Code: def main(): \# input your name and description A Add code here * Create the file. * Add code here 4 Write the HTML write_html (html_file, name, description) \# Call to function implementing additional feature (Requirement 6) * Add code here * Close the file. \# Add code here def write_html (html file, name, description): \# Write the htm1 tag. * Add code here \# Write the element: call write_head * Add code here 4 Write the body: call write body * Add code here Write the /htm1 tag. 4 Add code here def write head (html file): \# write the head part of the page \# Add code here def write body (html file, name, description): \# write the body part of the page * Add code here def additional_function code goes here (Requirement 6) main () Page 2 of 2 Project 2 Cs 1160 Spring 2023 (last updated 2/13/2023 at 5:21 pm)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
