Question
 Write a python script to read the numbers from the user until user presses zero and print sum , average and maximum number entered by the user.

Answer

Get the step-by-step solution for this question inside the Vidyadip app.

Get the answer in the app

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

Write a script to create a list of names of 10 cities and then
(a) Display the names of all the cities whose names start with 'A'
(b) Count the number of cities whose names do not start with 'A'
Out of the following, which all comes under cyber crime?

(a) Stealing away a brand new computer from a showroom.

(b) Getting in someone’s social networking account without his consent and posting pictures on his behalf to harass him.

(c) Secretly copying files from server of a call center and selling it to the other organization.

(d) Viewing sites on a internet browser.

Write script to find the sum of first n terms of the following series:
$x+x^2+x^3+\ldots$
where n and x have to be input from the user.
Python program to find the index of an item in a specified list.
How to get the items not common to both series A and series B?
Categorise the following under Client Side and Server Side script category:

(i) VB Script

(ii) ASP

(iii) JSP

(iv) JavaScript

Out of the following, which all comes under cyber crime?    
  1. Stealing away a brand new hard disk from a showroom.
  2. Getting in someone's social networking account without his consent and posting on his behalf.
  3. Secretly copying data from server of a organization and selling it to the other organization.
  4. Looking at online activities of a friend's blog.
Write two advantages of 3G over 2G Mobile Telecommunication Technologies in terms of speed and services. 
Write a python script to read a number from the user and print the Fibonacci series up to that number.
Write different Time Complexity and Space Complexity of Bubble Sort, Selection Sort and Insertion Sort.