This article introduces how to use List and Dict to implement a graph represented as an adjacent list in Python.