Python Assign and use variables with the same conditon without warning

前端 未结 0 1577
名媛妹妹
名媛妹妹 2021-01-26 17:35

how can I create and use a variable in Python3.8 only under a certain condition without a linter warning?

For example the following code triggers the warning Local

相关标签:
回答
  • 消灭零回复
提交回复
热议问题