Computer Science, asked by RenuSharma12, 12 hours ago

Q. Write a python program to calculate sum, difference, product and division of two numbers. Numbers are to be accepted from user.
Class 10th
Artificial Intelligence​

Answers

Answered by anuprash02
3

Here it is your answer .

#Program to sum, difference, product and divide two no.s

num1=float(input("Enter the first number:))

num2=float(input("Enter the second number:))

summ= num1 + num2

diff=num1 - num2

product=num1*num2

divide=num1/num2

print( "The sum of numbers is" , summ)

print( "The sum of numbers is" , diff)

print( "The sum of numbers is" , product)

print( "The sum of numbers is" , divide)

This is the right answer. Don't forget to make me brainliest and follow!

Similar questions