for this inputs
5
0 -2
3 6
4 7
1 -3
2 -1
5
0 1
1 2
2 -4
3 3
4 5
expected output is
12x^4 + 9x^3 - 5x^2 - x - 1but output is
12x^4 + 9x^3 - 5x^2 - 1x - 1for question #206080
Q3. A customer getting offers from different banks for deposit amount. From SBI customer is getting offer for 7.5 rate of interest , from PNB Bank getting offer for 8.5 rate of interest and from OBC Bank getting offer 9.5 rate of interest. Create an application where you have to create one base class named "ReserveBank" which has given instructions to all bank to give some rate of interest in deposit amount. Find out the amount after applying rate of interest from all these banks.
write a program to get given output for the given input.
input:[[1,2,3],[2],[3,4],[1,2,5,6],[5,7,8]]
output:[1,2,3,4,5,6,7,8]
in python.