首页 新闻 会员 周边
4
回答数

待解决问题 50 python方法里面写的ifelse判断报错,City引用局部变量,改为全局变量后赋值不成功

def getDataInsert(): citycode = 12 City = "" if citycode==10: acity= "123" elif citycode == 11: acit