import ast x = ast.Name(id='x', ctx=ast.Load())
import ast array = ast.Name(id='array', ctx=ast.Load()) index = ast.Index(value=ast.Num(n=0)) subscript = ast.Subscript(value=array, slice=index, ctx=ast.Load())Package Library: The ast.Load() function is part of the Python Standard Library, specifically the ast module.