Unsupported operand type method + method : <p>I've actually already found a work around for my problem, but I feel as though there is still a better way. I can't seem to grasp why the program thinks I'm dealing with a <strong>method</strong> vs a <strong>float</strong>.</p>

<p>If I try to run the program, it says that I'm trying to add together two <strong>methods</strong>. However, when I run the line:</p>

<p><code>print(type(my.coins.add_coins()))</code></p>

<p>It tells me that it has returned a <strong>float</strong>.</p>

<p>Here's the code:</p>

<pre><code>class Currency:
    def __init__(self, pennies, nickles, dimes, quarters):
        self.pennies = pennies
        self.nickles = nickles
        self.dimes = dimes
        self.quarters = quarters

    def penny_value(self):
        return self.pennies * .01

    def nickle_value(self):
        return self.nickles * .05

    def dime_value(self):
        return self.dimes * .1

    def quarter_value(self):
        return self.quarters * .25

    def add_coins(self):
        return self.penny_value + self.nickle_value + self.dime_value + self.quarter_value

my_coins = Currency(1, 1, 1, 1)



#why does this work?
print(my_coins.penny_value() + my_coins.nickle_value())

#but not this?
print(my_coins.add_coins())
</code></pre>
