Assignment Operator

Description:

Sneha got a single integer as an input , and her task to perform all assignment operations in with the given input . Let us help her to solve with the following conditions met, To Perform , Assign an input the new the variable and display Using addition assignment operation(c+=3;c=c+3) Using Subtraction assignment operation Using division assignment operation Using modulus assignment operation Input and Output Format: Refer sample input and output for formatting specification. All float values are displayed correct to 2 decimal places. All text in bold corresponds to input and the rest corresponds to output. Test Case 1 Input (stdin) 6 2 Expected Output Addition: 8 Subtraction: 4 Multiplication: 12 Division: 3.0 Exponent: 36 Test Case 2 Input (stdin) 10 5 Expected Output Addition: 15 Subtraction: 5 Multiplication: 50 Division: 2.0 Exponent: 100000

Program :

a=int(input())

b=int(input())

print("Addition:",a+b)

print("Subtraction:",a-b)

print("Multiplication:",a*b)

print("Division:",a/b)

print("Exponent:",a**b)