By completing this challenge you are going to perform arithmetic operations in Python. You will also learn how to manipulate counted loops (for loops) and how to combine loops together using nested loops.
Look at the code below. It’s asking the user to type a number and then it displays the times table for that number using a for loop.
When you insert a loop within a loop, you are using “nested loops”.
Check the code below that uses a nested loop.
Tweak the code above to display a full times table:
Tweak your code to display a number grid as follows: