Below is my code, when I print(a_list), it shows nothing. I don't understand why a_list is still empty when I call the function get_graph.
a_list = []
def get_graph():
files = os.listdir(path)
for file in files:
df = pd.read_csv(file)
for value in values:
if True:
a_list.append(file)
get_graph()