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]](https://i.imgur.com/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?
Here are some parts of my code.
![[Image: fcPuj6Y.png]](https://i.imgur.com/fcPuj6Y.png)
![[Image: kVZH5ed.png]](https://i.imgur.com/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?

Here are some parts of my code.
![[Image: fcPuj6Y.png]](https://i.imgur.com/fcPuj6Y.png)
![[Image: zJrT9gL.png]](https://i.imgur.com/zJrT9gL.png)