You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
xpetit 46f4ddc49e
Simplify prompt, execution of Go programs, fix typos
3 years ago
..
README.md Simplify prompt, execution of Go programs, fix typos 3 years ago

README.md

pangram

Instructions

Create a function is_pangram which will determine whether or not a string is a pangram.

A pangram is a sentence which uses every letter of the alphabet at least once.

Example:

"The quick brown fox jumps over the lazy dog."

Notions

Expected functions

pub fn is_pangram(s: &str) -> bool {

}

Usage

Here is a program to test your function.

use pangram::*;

fn main() {
    println!(
        "{}",
        is_pangram("the quick brown fox jumps over the lazy dog!")
    );
    println!("{}", is_pangram("this is not a pangram!"));
}

And its output:

$ cargo run
true
false
$