Tor.ai interview question

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