Python Program for Anomalies Detection