Amazon interview question

Python coding task (e.g., implementing K-Mean