name="jack"def a(): name="tom" def b(): name="cat" print(name) return bc=a()print(c)c()a()() c()和a()()都是输出"cat"
本文共 188 字,大约阅读时间需要 1 分钟。
name="jack"def a(): name="tom" def b(): name="cat" print(name) return bc=a()print(c)c()a()() c()和a()()都是输出"cat"
转载于:https://www.cnblogs.com/wangdamao/p/10438563.html