Imported value not changed

前端 未结 0 1851
北荒
北荒 2020-12-10 13:26

I have a python file like this,

# a.py
count = 0

def inc()
    global count
    count = count + 1

And I need to access count fr

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