Your Perfect Assignment is Just a Click Away
We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

Python assignment

Python assignment

(30 points)

Write a program that will except a range of 20 numbers from the user and then populate the list with entered numbers. It will also calculate the min. max, total, and average (math functions) of those numbers.
Hints:
Define main () program
Create number_list (This list will contain how many number you want your program to loop through) 
Declare variables
Use a For loop to populate the number_list.
Print out the min. max, total, and average formatted with 2 decimal precisions.

py (40 points):

Write a program that will read a data file calculates which contains sentences (text file).  Then count the total number of words in the file. Calculate the average and print it out.
Hints:
Define main() program
Declare variables
Save the given data file under the same folder as your program file is
Open file
User infile.readlines() to read data into a list of sentences (Each item in the list is one sentence)
Use len(sentence_list) to get length of the sentence list. (num of sentence is equal to the length of sentence list
Use a For loop to number of items (word) in the sentence. For loop will collect the Total words.
Calculate the average and print

py (30 point)

Write a program to read a text file. Determine if the character is uppercase, lowercase, a digit, or space, and keep a running total of each.
Hints
Define main() program
Declare variables
Save the given data file under the same folder as your program file is.
Open file
Use a For loop to read data and verify with if statement or if/elif statement
Print out the total of is uppercase, lowercase, a digit, and space characters in the file

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Topnotch Essay only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided byTopnotch Essay are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Topnotch Essay is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Topnotch Essay, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.