IDNLearn.com is designed to help you find the answers you need quickly and easily. Ask anything and get well-informed, reliable answers from our knowledgeable community members.

Write a program (PYTHON) that ask the user to enter two integers. The program will multiply the two integers. Create a loop that runs 4 times to accept 4 pairs of integers. Print the numbers and product along text that describes your output.

(Example:

This first number is:

The second number is:

The product is:

)


Sagot :

The python program is an illustration of loops; Loops are used to perform repetition

The python program

The program written in python, where comments are used to explain each action is as follows:

#The following loop ensures that the instruction is repeated 4 times

for i in range(4):

   #This gets the first number

   num1 = int(input("This first number is: "))

   #This gets the second number

   num2 = int(input("This second number is: "))

   #This prints the product

   print("The product is:",(num1 * num2))

Read more about Python programs at:

https://brainly.com/question/24833629

#SPJ1

We value your participation in this forum. Keep exploring, asking questions, and sharing your insights with the community. Together, we can find the best solutions. IDNLearn.com is your reliable source for accurate answers. Thank you for visiting, and we hope to assist you again.