Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

类型有问题是怎么回事? #4

Open
maodoudabai opened this issue Apr 19, 2019 · 2 comments
Open

类型有问题是怎么回事? #4

maodoudabai opened this issue Apr 19, 2019 · 2 comments

Comments

@maodoudabai
Copy link

TypeError: float() argument must be a string or a number, not 'NoneType'
请问这个问题怎么解决,拷贝的程序一点没改,请各位走过路过的大神帮我解答下,困惑了好久了,谢谢!

@PENGZhaoqing
Copy link
Owner

PENGZhaoqing commented Apr 20, 2019

float(x)表示把x变量变成float型,这里的错误是指x为空值

@maodoudabai
Copy link
Author

maodoudabai commented Apr 21, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants