how do i change a variable in a class(python)

前端 未结 0 741
闹比i
闹比i 2020-11-29 09:21

my code goes like this `global php php = 1 class add_s_f_g_v_php: def r(php): phpt = php php = phpt+phpt return php

add_s_f_g_v_php.r(php) print(php)`

and it g

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