Old Man Yells At Cloud

Grant Edwards grant.b.edwards at gmail.com
Wed Sep 20 16:35:18 EDT 2017


On 2017-09-19, Stefan Ram <ram at zedat.fu-berlin.de> wrote:
> Chris Angelico <rosuav at gmail.com> writes:
>>On Wed, Sep 20, 2017 at 4:59 AM, Stefan Ram <ram at zedat.fu-berlin.de> wrote:
>>>I don't get this. For example, the contractual payment (cost) is
>>>47.21
>>>, the other party hands over
>>>50.25
>>>. Now I am supposed to add /what/ to the cost?
>>Start at the smallest end. You need to make 21 cents up to 25. So hand
>>back four pennies.
>
>   Yes, but to know this ("four") I have to do a /subtraction/:
>
>       25 - 21 = 4.

No, you don't.  You start at "21" and hand out pennies while counting
up to "25".

-- 
Grant Edwards               grant.b.edwards        Yow! ... I have read the
                                  at               INSTRUCTIONS ...
                              gmail.com            




More information about the Python-list mailing list