Have an assignment for python class, we have to make a program that asks for an input and will display a multiplication table for all values up to the input. It requires we use a nested for loop. I'm having a really hard time trying to figure out this exercise.

Use nested loops. Sample output for the given program: The multiplication_table function prints the results of a number passed to it multiplied by 1 through 5. An additional requirement is that the result is not to exceed 25, which is done with the break statement. This function prints out a multiplication table (where each number is the result of multiplying the first number of its row by the number at the top of its column). 1 2 3 2 4 6

This function prints out a multiplication table (where each number is the result of multiplying the first number of its row by the number at the top of its column). 1 2 3 2 4 6