You are viewing a single comment's thread. Return to all comments →
We read two integers from input and store them in variables a and b. Then we perform basic arithmetic operations.
First print the sum using a + b
Second print the difference using a - b
3.Third print the product using a * b
Code For if not understand:
a = int(input()) b = int(input())
print(a + b) print(a - b) print(a * b)
Seems like cookies are disabled on this browser, please enable them to open this website
Arithmetic Operators
You are viewing a single comment's thread. Return to all comments →
We read two integers from input and store them in variables a and b. Then we perform basic arithmetic operations.
First print the sum using a + b
Second print the difference using a - b
3.Third print the product using a * b
Code For if not understand:
a = int(input()) b = int(input())
print(a + b) print(a - b) print(a * b)