Question: How do I do this in Python? Please post a screenshot of your code Write a function multiplication_tables which takes in as input an integer
How do I do this in Python? Please post a screenshot of your code

Write a function multiplication_tables which takes in as input an integer num , and prints out lists with the the first 10 multiples of all the numbers from 1 to num (inclusive). Function Name: multiplication_tables Parameter: num - A positive integer up to which we have to print the first 10 multiples. Description: For each number from 1 to num , the function should print out a list containing the first 10 multiples of the number. Sample Input: 5 Sample Output: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] [3, 6, 9, 12, 15, 18, 21, 24, 27, 30] [4, 8, 12, 16, 20, 24, 28, 32, 36, 40] [5, 10, 15, 20, 25, 30, 35, 40, 45, 50]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
