Generation

generate functionSat, 12 Nov 2022

Compute the hate of all my ex

let my_ex_list = [1, 2, 3, 4] fn get_hate(my_ex_list: &Vec<i32>) -> i32 { let mut hate = 0; for ex in my_ex_list { hate += ex; } hate }

Want to kickstart your project?Use the new AI Studio to create your code