let mountaineering_advice = |cautious, scorn, pre_starting, guidances, reinvigorate_from_scratch| { for advice in guidances.iter() { if *advice == "be cautious" { println!("always approach mountaineering with caution to ensure safety."); } else if *advice == "ignore scorn" { println!("never let the scorn of others deter you from your passion for the mountains."); } else if *advice == "pre-starting check" { println!("perform a pre-starting check of all your gear to avoid any mishaps during the climb."); } else if *advice == "reinvigorate from scratch" { println!("sometimes, starting from scratch is the best way to reinvigorate your mountaineering journey with new learnings and experiences."); } }; };