Dr Nick

(4)

$14/per page/Negotiable

About Dr Nick

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Art & Design,Computer Science See all
Art & Design,Computer Science,Engineering,Information Systems,Programming Hide all
Teaching Since: May 2017
Last Sign in: 340 Weeks Ago, 5 Days Ago
Questions Answered: 19234
Tutorials Posted: 19224

Education

  • MBA (IT), PHD
    Kaplan University
    Apr-2009 - Mar-2014

Experience

  • Professor
    University of Santo Tomas
    Aug-2006 - Present

Category > Computer Science Posted 31 Jul 2017 My Price 12.00

a program which repeatedly reads numbers

Write a program which repeatedly reads numbers until the user enters “done”. Once “done” is entered, print out the total, count, and average of the numbers. If the user enters anything other than a number, detect their mistake using try and except and print an error message and skip to the next number.

HINT:

1.     Be sure to use Python version 3 or above.

2.     When computing the average, remember the user may have input 0 numbers!

3.     Be sure to comment your program adequately!

4.     Remember your Python code will be graded according to our class Rubric.

5.     Submit your Python code file.  Name it “XXXX-loop-till-done.py” where XXXX is your name. 

6.     Submit also a Word document showing screen shots of successful execution.

Write another program that prompts for a list of numbers as above and at the end prints out both the maximum and minimum of the numbers instead of the average.

HINT:

1.     See hints for Exercise 1 above.

2.     Be sure to comment your program adequately!

3.     Remember your Python code will be graded according to our class Rubric.

4.     Submit your Python code file.  Name it “XXXX-min-max.py” where XXXX is your name. 

5.     Submit also a Word document showing screen shots of successful execution.

Answers

(4)
Status NEW Posted 31 Jul 2017 01:07 PM My Price 12.00

----------- He-----------llo----------- Si-----------r/M-----------ada-----------m -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------. P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am-----------on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill-----------

Not Rated(0)