AKUNA CAPITAL interview question

online assessment: coding with python.