124,508 views
38 votes
38 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 EastSw
by
3.0k points

1 Answer

15 votes
15 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 Hasiya
by
2.7k points