Write code using the range function to add up the series 20, 30, 40, ... 90 and print the resulting sum each step along the way.