Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Dust

  • 3 years ago

In PS 1A what is the significance of the ',2' in # Minimum monthly payment of balance at start of the month minPayment = round(minMonthlyPaymentRate * balance,2) Also, what is '+=' ?

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

    In Python, the `,2' in the round function is the number of digits after the decimal point ( http://docs.python.org/2/library/functions.html#round). And `a += 2' means `a = a + 2'.

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

    Thank you!

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

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy