Mode Calculation In Python A Syntax