Python Forum

Full Version: "parameter"is possibly unbound
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone, I am a student who has just learned python. The following problems appeared in the program. It seems to be a basic problem, but I don’t know how to solve it. Could someone please give me some suggestions?


[Image: kVZH5ed.png]

"BS_Subcovered" is possibly unbound Pylance (reportUnboundVariable) [281,20]
"x" is possibly unbound Pylance (reportUnboundVariable) [332,15]
"y" is possibly unbound Pylance (reportUnboundVariable) [373,15]


How can I solve it? Cry


Here are some parts of my code.

[Image: fcPuj6Y.png]
[Image: zJrT9gL.png]