开发者

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

开发者 https://www.devze.com 2022-12-07 18:47 出处:网络
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 nece
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

精彩评论

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

关注公众号