RapiPay Fintech interview question

python and ds questions