AKUNA CAPITAL interview question

Python coding challenge