All pastes #731019 Raw Edit

Mine

public text v1 · immutable
·published 2007-10-09 18:36 UTC
rendered paste body
# Michael Cusack
# Project 7-5

r = float(raw_input("What is the interest rate: "))
p = float(raw_input("What is the initial principal: "))
y = int(raw_input("How many years in fund: "))
f = p

for x in range(y):
	f += f * (r / 100)
	o = f - (f * (r/100))
	i = f * (r/100)
	print "%i > $%f > $%f > $%f"%(x + 1,o,i,f)