CS 133 Introduction to Python Assignment 1 1) Write a .docx
1. CS 133 Introduction to Python
Assignment 1
1) Write a program that produces a comparison of the balance of
a bank account over time
between simple, monthly and daily methods of compounding
interest. The program
should prompt the user for an initial balance, an interest rate,
and the number of years to
compare. The output should be a table with four columns, one
for the year and one each
for the yearend balance in the account given each compounding
method. The columns
should be aligned and account balances expressed in dollars and
cents, e.g. $ 1050.00.
2) Write a program to print a table of powers. The program
should read three values: a base
and two exponents, min and max. The program should print
output values for basen for
min ≤ n ≤ max. The output should be formatted in three
columns: base, exponent value
(n) and result value (basen).
Make your code as readable as you can by choosing appropriate
variable names and adding
comments to your code. Upload your .py files through the
course Moodle page.