Why is my global variable being read as a local variable? Python

后端 未结 0 756
傲寒
傲寒 2021-02-06 04:51

counter=0

Def main(): While counter <= 5: Print ("*" * counter) Counter = counter + 1 Main()

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