關鍵詞 global 和 nonlocal

NAME = '海風' def huangwei(): name = '黃偉' print(name) def liuyang(): name = '劉洋' print(name) def yangjing(): name = '滬指花' print(name)
相關文章
相關標籤/搜索