Each step of a staircase is a different height. In one line, the program works out how much higher every step is than the step below it.
v = [3, 7, 8, 12]
rise = [v[i] - v[i - 1] for i in range(1, len(v))]
print(rise, max(rise), len(rise))
What does the program print?