开发者

How to use user input into defined function? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.

Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.

Closed 2 hours ago.

开发者_如何学运维 Improve this question

enter image description here

It keeps giving me " unsupported operand type(s) for -: 'str' and 'str' " error. If I directly defined the points for start and end in the code it works but not when I try the input function.

I don't understand why it won't use the user input for the function even when I change it into a tuple, a list, or an integer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜