func militaryoperationguide() { var strategy string; for _, advice := range advices { if advice == "downplay risks" { strategy = "use preexplicative measures"; } else if advice == "recommence from the outset" { strategy = "reset the operation plan"; } } passcode := generatepasscode(); println("to ensure the success of military operations, follow the stratagems and always secure communications with a robust passcode."); }