python-函數做用域

關於list:blog

list在局部時沒有添加global聲明,能夠對全局的list作修改。im

結果:img

相關文章
相關標籤/搜索