I = P*N*R . The total amount to repay will be A = P + I
Input Commands
There are 3 input commands LOAN, PAYMENT, BALANCE
LOAN
Format - LOAN BANK_NAME BORROWER_NAME PRINCIPAL NO_OF_YEARS RATE_OF_INTEREST
Example- LOAN IDIDI Dale 10000 5 4 means a loan amount of 10000 is paid to Dale by IDIDI for a tenure of 5 years at 4% rate of interest.
PAYMENT
Format - PAYMENT BANK_NAME BORROWER_NAME LUMP_SUM_AMOUNT EMI_NO
BALANCE
Input format - BALANCE BANK_NAME BORROWER_NAME EMI_NO
Output format - BANK_NAME BORROWER_NAME AMOUNT_PAID NO_OF_EMIS_LEFT
Assumptions
1. Repayments will be paid every month as EMIs until the total amount is recovered.
2. Lump sum amounts can be paid at any point of time before the end of tenure.
3. The EMI amount will be always ceiled to the nearest integer.
INPUT:
LOAN IDIDI Dale 10000 5 4
LOAN MBI Harry 2000 2 2
BALANCE IDIDI Dale 5
BALANCE IDIDI Dale 40
BALANCE MBI Harry 12
BALANCE MBI Harry 0
OUTPUT:
IDIDI Dale 1000 55
IDIDI Dale 8000 20
MBI Harry 1044 12
MBI Harry 0 24
Given the following volumes of gases at 54.0°C and 790 torr, calculate the number of moles and the mass of a 150.0 mL Xenon gas
In a class test the teacher announces the marks (negative marking is allowed) of n (n>0) students. A student can achieve maximum 100 marks. Write a python function print_marks(*marks) that takes number of students, marks of students and return the marks and check the marks are valid or not. If valid then it calls the recursive function rec_Sort(*marks) which returns the students marks as a comma-separated string with elements in ascending order. (You can use of built-in function max ()/min() to do this)
Write a python function Sum(ele) which takes a comma-separated string of numbers and returns the reverse of the sum of the smallest and largest numbers in the given list as shown in the example. For example, for the list 10, 23, 14, 25, the sum of smallest and largest numbers is 35. And the reverse of 35 is 53.
NOTE:
Artificial Mouse Population satisfying the following conditions:
Write a function gen_population_series (x, y, n) which takes initial population as x, y and a positive integer number n as number of months and returns number of mouses produced in each month till nth month in string format using recursion.
The equation for a reaction that can be used to manufacture lithium carbonate is
2Li2O2 + 2CO2 → 2Li2CO3 + O2
What is the atom economy for this reaction?
The equation for a reaction that can be used to manufacture lithium carbonate is
2Li2O2 + 2CO2 → 2Li2CO3 + O2
What is the atom economy for this reaction?
Calculate the root-mean-square speed of molecular chlorine in m/s at 20oC.
Obtain the equation of the regression line Y
on X from the following data :
X 3 5 6 8 9 11
Y 2 3 4 6 5 8
Determine the cofficent of X5Y10Z5W5 in (x-7y+3z-25)25