Write code using the range function to add up the series 20, 30, 40, ... 90 and print the resulting sum.
Expected output: 440
Please fix the following input errors: