---
# System prepended metadata

title: Python Note

---

# Python Note

**global variable** : 
The usage of global variable should be decreased because it can be modified everywhere. A variable is supposed to be used only by it's friends.

Example:
```
def main():
    # Todo: Add your code here
    pass


if __name__ == '__main__':
    main()
```
Reference:
[Python-100-Days](https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/Day06/%E5%87%BD%E6%95%B0%E5%92%8C%E6%A8%A1%E5%9D%97%E7%9A%84%E4%BD%BF%E7%94%A8.md)


https://github.com/jackfrued/Python-100-Days/blob/master/Day01-15/Day07/%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%92%8C%E5%B8%B8%E7%94%A8%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84.md