# 018: Tuples
# Fixed-size collections with mixed types

# Create a tuple (immutable)
point = (10, 20)
show "X: {point.0}, Y: {point.1}"

# Named tuple
person = (name: "Alex", age: 28)
show "Name: {person.name}"
show "Age: {person.age}"

# Function returning multiple values (tuple)
divide_with_remainder(a, b):
  (quotient: a / b, remainder: a % b)

result = divide_with_remainder(17, 5)
show "17 ÷ 5 = {result.quotient} remainder {result.remainder}"
