ruby append to array

arr = [1, 2, 3, 4, 5]
arr << 6
  1. Create an array arr with elements [1, 2, 3, 4, 5].
  2. Use the << operator to append the value 6 to the array arr. ```