Skip to main content

portal_solutions_sorrydave/
lib.rs

1#![no_std]
2pub fn banned_country(a: &str) -> bool {
3    let mut chars = a.trim().chars().map(|c| c.to_ascii_lowercase());
4    return chars.next() == Some('u') && chars.next() == Some('k') && chars.next() == None;
5}