Write a program to calculate the product of two numbers.
#python
Answers
Answered by
14
note that this will work in python 2.7.
#to calculate product
a = input("Enter the first no.- ")
b = input("Enter the second no. - ")
s = a*b
print s
#to calculate product
a = input("Enter the first no.- ")
b = input("Enter the second no. - ")
s = a*b
print s
Attachments:
Answered by
32
# Program by ShinchanTheGreat
x = int(input("Enter First Number = "))
y = int(input("Enter Second Number = "))
Product = x*y
print("The Product is : ",Product))
_______________________________
Output :-
Enter First number = 2
Enter Second number = 5
Product is : 10
_____________________
Note:
[ You can use any number for getting product ]
✌ ✌ ✌
Similar questions