辅导flow-chart、Python编程语言调试、讲解Python、辅导program
- 首页 >> 其他Please write Python program based on the flow chart on Page 2 of this document.
This flow-chart shows how to calculate compound Interest.
Test Cases for the program.
You can test your program with you own test cases as well as one test case from above.
10 Marks
2 points for each correct line as shown with one of the test case above.
Hint: Formula for a (make sure you use proper variable type and pay attention to formatting of the last line)
a = p * (1 + r / n) ** (n * t)