立即学习:https://edu.csdn.net/course/play/25498/304630?utm_source=blogtoedu ###在函数体内修改全局变量的时候需要在变量前面加一个global关键字。