Display the count of the groups and final balance

Assignment Help Python Programming
Reference no: EM132011072

Question: Using the For.. loop, Write a program to ask the user for 7 deposits. As the user enters a deposit amount, update the balance using accumulation concept.

Also, keep a count of the number of deposits over or equal to 1000 dollars, between 500 and 999 dollars, between 100 and 499 dollars and between 0 and 99

Display the count in each of the above groups and final balance.

Mimir Requirements: The file name must be Module4Homework2.py

Here is the sample input and output.

Please enter your deposit amount: 1000

Please enter your deposit amount: 800

Please enter your deposit amount: 400

Please enter your deposit amount: 200

Please enter your deposit amount: 30

Please enter your deposit amount: 4000

Please enter your deposit amount: 688

You have 2 deposit over or equal to 1000 dollars.

You have 2 deposit between 500 and 999 dollars.

You have 2 deposit between 100 and 499 dollars.

You have 1 deposit below 100 dollars.

Your balance is : 7118

Another Sample Input output.

Please enter your deposit amount: -20

You entered a wrong amount!

Please enter your deposit amount: 2000

Please enter your deposit amount: 900

Please enter your deposit amount: 400

Please enter your deposit amount: 10

Please enter your deposit amount: 899

Please enter your deposit amount: 2000

You have 2 deposit over or equal to 1000 dollars.

You have 2 deposit between 500 and 999 dollars.

You have 1 deposit between 100 and 499 dollars.

You have 1 deposit below 100 dollars.

Your balance is : 6189

Reference no: EM132011072

Questions Cloud

Mpf stands for m-phase promoting factor : MPF stands for M-phase promoting factor. Cyclin is degraded by the ubiquitin pathway, so what type go enzymatic activity does MPF have?
Where should the emphasis be : The argument advocates that to focus on the difference of the Kingdoms is a mistake and that the focus should be on the similarities which define the continent
Common disorders of the special senses : Consider one of the common disorders of the special senses. Describe the disorder and the daily impacts of the disorder.
Determine the income tax expense : Unitroj received $1 million each year in interest income from investments in municipal bonds. Determine the income tax expense for 2011 and 2012
Display the count of the groups and final balance : Using the For.. loop, Write a program to ask the user for 7 deposits. As the user enters a deposit amount, update the balance using accumulation concept.
Why is it necessary to wait 10 minutes before adding iki : Why is it necessary to wait 10 minutes before adding IKI solution to the test tubes?
Why is aguinaldo making this comparison : When Aguinaldo states, "government by consent in America, government by force in the Philippine Islands..." what is he basing this comparison upon?
What is the value of the investment after five years : An investor deposits R3 000 into an account that yields 7.75% per annum compounded monthly. What is the value of the investment after five years?
What type of movement occurs at each upper extremity joint : What muscles are activated at each joint and what type of contraction? Identify the type of axis of rotation, plane of motion, joint action, and type of joint

Reviews

Write a Review

Python Programming Questions & Answers

  Most popular name would be the one with the biggest number

the program will ask you to insert the year that the user is interested in, then ask the gender that the user is interested in, and print out the most popular names corresponding to the year and gender. FYI, the number on the right represents how man..

  Write the code to allow user to input three integer numbers

Write the code to allow a user to input three integer numbers. The program will then produce the average of thosethree numbers

  Write a program that counts the frequencies of each word

Write a program that counts the frequencies of each word in a text, and output each word with its count and line numbers where it appears. We define a word as a contiguous sequence of non-white-space characters.

  Print out the average score accurate to two decimal places

print out the average score accurate to two decimal places.

  Create a python program that allows user enter class name

Create a Python program that allows user enter class name, faculty name, name of each student, and letter grade each student earned.

  Enter an integer for the base of the power

This assignment requires one file containing a main function and a recursive function named power.

  Implement key exchange using the diffie-hellman algorithm

Implement key exchange using the Diffie-Hellman algorithm, when peer-to-peer connections are made between bots. Achieve con dentiality through encryption of the client-server communications with an appropriate block or stream cipher

  How many times each word has occurred in the text file

The values in this dictionary should be a count of how many times each word has occurred in the text file. Second, add the word into a data structure that is keeping track of word information for the completion process.

  Develop a system for the Complex Word Identification

Class project: Complex Word Identification. The goal of the lab is to develop a system for the Complex Word Identification shared task

  Determine which value is on the most dice

Determine which value is on the most dice, and set those dice aside so they won't be re-rolled. Repeat steps (2) and (3) until you're out of rolls (in Yahtzee, it's a maximum of 3 rolls)

  Write a program using the requetinteger function

write a program using the 'requetInteger' function that will ask the user to type a value that will draw a line from one point on a picture to another.

  Program for simulating a supermarket self-service checkout

ITECH1400 - Foundations of Programming - Design and model two classes: Product and CheckoutRegister and Create an activity chart which describes the behaviour

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd