Q:

create simple calculater using python

0

create simple calculater using python, contains summation, subtraction, multiplication, divide

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

num1=int(input('please enter first number:'))
num2=int(input('please enter second number:'))
summation_result=num1+num2
subtraction_result=num1-num2
multiplication_result=num1*num2
division_result=num1/num2
remainder_result=num1%num2
print('the summation result is :' , summation_result)
print('the subtraction result is :',subtraction_result)
print('the multiplication result is :',multiplication_result)
print('the division result is :',division_result)
print('the remainder is :',remainder_result)

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now