The total of the odd times tables

Write code · Medium · §7.3, §7.6 Nested loops and the first math helper

From the 1 times table up to the last times table, add up all the results of the odd-numbered times tables (the 1, 3, and 5 times tables, and so on), and store the sum in total. Each table multiplies by 1 through 9.

Starter code

last = 10

Solve this problem in your browser

Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.