Ad

If x have number 3 return true or false

fn solution(x: i32) -> bool {
    x.to_string().chars().any(|x| x == '3')
}