Basic Linear Classifier Python W3schools Exercise