Exerpad
🔥0
0 XP
Lv.1 Beginner
Log In

Point Tuple

Create a tuple called point with two values: 4 and 9. Then print the point in this format:

Expected output:

text
Point: 4, 9

Hints:

  • Create a tuple with let point = (4, 9);
  • Access the first value with point.0 and the second with point.1
rust
fn main() {
}