Try it yourself

Playground

A blank slate for your own Ascent. Write whatever you like, then pressRun (or Shift+Enter) to see it execute. Your code stays saved in this browser between visits. Theinput.txt panel below acts as a file your code can read withreadLines.

To see Ascent in action, try running the starter code below. It's a solution to the Advent of Code 2023 Day 1 Part Two challenge.

input.txt