← Questions
Transaction fees from a CSV of payments
0
I was asked this
No reports yet. Sign in to say where you were asked it.
You get payment transactions as a CSV string. Compute the fee for each one and the total fees per user. The rate depends on the payment type and provider and on the transaction's status; later parts add more cases, such as refunds, disputes and several currencies. Ask how each case is charged before you start coding.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
