Can Python Functions Used For Dynamic Memory