fn main() {
    // create a tuple
    let tup = ("jake", 23);
    
    // destructure a tuple
    let (name, age) = tup;
    
    println!("{:?}", tup);
    println!("{} is {} years old", name, age);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: