IDNLearn.com is the place where your questions are met with thoughtful and precise answers. Ask anything and receive well-informed answers from our community of experienced professionals.
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
We appreciate your contributions to this forum. Don't forget to check back for the latest answers. Keep asking, answering, and sharing useful information. IDNLearn.com is your go-to source for accurate answers. Thanks for stopping by, and come back for more helpful information.