01. In the file jan_sales.txt, there is sales data for each day of the month of January. Write a program that calculates the total sales amount and the average sales amount and display as Total sales...


01.
In the file jan_sales.txt, there is sales data for each day of the month of January. Write a program that calculates the total sales amount and the average sales amount and display as


Total sales for January: $
Average sales for January: $
(Hint: you have to convert the values from string to float)
02.
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
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.
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:










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.












Attach TWO separate code files (.txt or .py format) for each of the above programs.




1351.42 1811.41 1509.77 1169.0 1161.17 1105.27 1194.1 1971.41 1579.43 1222.77 1458.5 1767.66 1978.36 1503.84 1767.73 1595.97 1240.46 1360.35 1023.7 1842.81 1036.38 1436.44 1148.5 1683.27 1776.48 1033.92 1249.79 1774.62 1545.44 1087.92 1329.51
Jan 22, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here