70.8k views
2 votes
Read three integers from user input without a prompt. Then, print the product of those integers. Ex: If input is 2 3 5, output is 30.

User Dario
by
4.1k points

1 Answer

6 votes

Answer:

num1=2

num2=3

num3=5

num1= int(num1)

num2= int(num2)

num3= int(num3)

pro = num1*num2*num3

print(pro)

Step-by-step explanation:

This is very close to a correct answer in easy code and easy to read, I was not able to put the answer in without the proper indentation alignment the way I would present this. So please adjust to your requirements for the indentation.

User GhassanPL
by
4.6k points