ZS Associates interview question

python coding question case of pharma company why zs diff situation u were put into