{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

hw6a - Set m to m times(1 r Decrease y by 1 return p m

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
def myFunction(p,r,y): # if p, r, or y is negative, return 0 m = 1 while y > 0:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: # Set m to m times (1 + r) # Decrease y by 1 return p * m...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online