At Westonci.ca, we provide clear, reliable answers to all your questions. Join our vibrant community and get the solutions you need. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

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).

Sagot :

The programming is done for the multiplication table that takes integer numbers and prints the table given in the picture.

What is computer programming?

The words "computer coding" and "computer programming" are sometimes used simultaneously. They do, however, differ in several ways.

Write a function multiplication tables which takes in as input an integer num, and prints out lists with the first 10 multiples of all the numbers from 1 to num(inclusive).

The programming is given below.

def multiplication_tables(num):

   for i in range(1, num+1):

       lst = []

       for j in range(1, 11):

           lst.append(i*j)

       print(lst)

# Testing the function here. ignore/remove the code below if not required

if _name_ == '__main__':

   n = int(input())

   multiplication_tables

Then the result will be given in the picture.

More about the computer programming link is given below.

https://brainly.com/question/14618533

#SPJ1

View image jainveenamrata