Python Ödevi İçin Yardım
-
Bu ödevi cumartesi gününe kadar yetiştirmem lazım ama Python'a dair hiçbir şey bilmiyorum.Çok basit bi işlemi var ama yine de yapabilcek kabiliyetim yok.Bana yardımcı olabilecek biri var mı??
CSE-101 Assignment 5 / Python Coding / 26.12.2011
Send your submissions until 5:59pm at 31.12.2011.
You should celebrate Christmas, after your submission
Late submissions will not be accepted. Cheating, code sharing and doing homework together are
strictly forbidden. Do your own work!
You should answer the homework using Python codes. Send your homework submissions
as a python code file to “cse101submit@cse.yeditepe.edu.tr” mail address. Your python file
name should suit the format “studentnumberHW5.py” (240702002HW5.py). You will get “0”, if you
send your homework file in another format.
You are going to design a calculator that calculates repurchasing agreement interest of the money in
a limited time period. The repurchasing agreement (as known as REPO) program code which you will
design should obey the rules in below:
Your program should get the capital which is invested by owner and number of days the
money will be invested in the repurchasing agreement.
Your program should determine the daily interest of repurchasing agreement system
randomly. You should consider the annual repurchasing agreement interest in Turkey which
changes between %8 and %10 while you are trying to determine the daily interest. Your code
should determine a float daily interest rate, not integer.
It is forbidden to use any while or for loop in your code. You have to define a function for
calculation and you have to call it recursively.
Your code should print-out the number of days and total amount of money at the end of the
recursion. It is forbidden to print-out these information in your main code.
Your code should print the results like:
Your total money after 10 days in REPO are 1002.48 TL
GOOD LUCK!!
MERRY CHRISTMAS!!