[answers] Replace eval() with safer literal_eval().