Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

MLange

  • 2 years ago

I am learning Python and I need some help.

  • This Question is Open
  1. MLange
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I am taking an opencourseware to learn my first programing language, python. This is what I am trying to do: Now write a program that calculates the minimum fixed monthly payment needed in order pay off a credit card balance within 12 months. We will not be dealing with a minimum monthly payment rate. Take as raw_input() the following floating point numbers: 1. the outstanding balance on the credit card 2. annual interest rate as a decimal Print out the fixed minimum monthly payment, number of months (at most 12 and possibly less than 12) it takes to pay off the debt, and the balance (likely to be a negative number). Assume that the interest is compounded monthly according to the balance at the start of the month (before the payment for that month is made). The monthly payment must be a multiple of $10 and is the same for all months. Notice that it is possible for the balance to become negative using this payment scheme. Here is my code: http://dpaste.com/hold/785090/ Can someone please help me figure out what I am doing wrong?

  2. MLange
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    http://openstudy.com/study?login#/updates/50275518e4b086f6f9e137ee

  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.