fn main() {let mut snakes_info = vec::new(); fn add_snake_info(snake: &str, info: &str) {snakes_info.push((snake.to_string(), info.to_string()));} fn study_snakes() {for snake in &snakes_info {println!("studying: {}, info: {}", snake.0, snake.1);}} add_snake_info("python", "non-venomous, prefers to constrict its prey."); add_snake_info("cobra", "famous for its hood and venom."); println!("disclaimer: this is a pre-explanatory study, start from the outset to understand snakes. restricted handling without expertise."); study_snakes();}