The condition for in a if-else statement has explicitly return a Boolean value
The “loop” Loop in Rust can return a value from inside the loop when a variable is used after the break statement
The .iter()
method is used to iterate over a array and the .iter().enumerate()
method is used to return the index along with the element