DRW interview question

Tetris game Buy and sell stokes python code