Question: How do I get a return on the accept or decline project for npv calculated above. In [11]: CashFlows = (CFO, CF1, CF2, CF3, CF4,CF5]

How do I get a return on the accept or decline project for npv calculated above. How do I get a return on the accept or decline project

In [11]: CashFlows = (CFO, CF1, CF2, CF3, CF4,CF5] r = .11 def npv(r, CashFlows) : npv = 0 for i, val in enumerate(CashFlows): npv += val / (1+ r)*** return (npv) In [13]: print (npv(r, CashFlows)) 931.9900448164655 In [14]: if npv > 0: print("Accept Project!", npv) else: print ("Decline Project!", npv) TypeError Traceback (most recent call last) /var/folders/rh/xy_hq7xj48vf2fgm7c88wd2h0000gn/T/ipykernel_94255/2096898719.py in ----> 1 if npv > 9: 2 print("Accept Project!", npv) 3 4 else: 5 print ("Decline Project!", npv) TypeError: '>' not supported between instances of 'function' and 'int

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!