score (获取双方比分)

score()

返回双方得分,两个元素的元组,我方分数为元组的第一位,对方分数为第二位

返回

(我方分数,对方分数)

返回类型

(int, int)

实际案例

>>> import opt
>>> print(opt.score())
(0, 0)