pycharm运行python遇到的问题
if answer ==int(guess) :
print('you have run out your ', str(guess_limit),'guess number')
print('you have run out your '+ str(guess_limit)+'guess number')
import sys
guess_limit=int(sys.argv[1])
IndentationError: unexpected indent:
(属性缩进错误:意外缩进)IndentationError: expected an indented block
AttributeError: module 'xgboost' has no attribute 'DMatrix' :
AttributeError:模块“xgboost”没有属性“DMatrix” with open('result/desC.txt','a+') as fp:
fp.write(str(res1))
fp.write('\n')
未完待续。。。