Tor.ai Interview Question

Machine learning , statistics , python code (easy to medium)