Value not being Updated

后端 未结 0 1234
闹比i
闹比i 2021-01-03 23:41

I try to update the health value but it returns to 100. Can anyone explain?

def CheckHealth(health):
        health-=1
    

health = 100
while True:
    prin         


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