标签: python
I've just installed Jupyter Notebook and wrote some codes.it shows error what is the reason i did tried can anyone help me
答案 0 :(得分:0)
好像您使用的是python3,这意味着您的打印语句应带有方括号(python2语法中没有方括号):
print(clf.predict([[150,0]]))