Python 'AttributeError: 'function' object has no attribute 'min''

后端 未结 6 2196
予麋鹿
予麋鹿 2021-02-07 15:12

Firstly, apologies for how obvious these two questions seem to be; I\'m very very new to this and don\'t have a clue what I\'m doing.

I\'m trying to write something to a

6条回答
  •  清歌不尽
    2021-02-07 15:41

    Int's don't have a min() function but min() is a builtin function. You'll need to use min(x).

提交回复
热议问题