Using the global statement. If you want to assign a value to a name defined outside the function, then you have to tell Python that the name is ...
確定! 回上一頁