Write a program to perform addition, subtraction, exponent, division on two variables taking input from user.
Please give a hint or instead do this one cause i was doing one mistake at last line Please its an request☺
Put the \n inside and you must not use + operator in the print statement because you are printing string with an int or float result. So you can replace it with a comma separator. a = int(input("VERIABLE 1\n")) b = int(input("VERIABLE 2\n")) print("VERIABLE 1 = ",a ) print("VERIABLE 2 = ",b ) print ( "VERIABLE 1 / VERIABLE 2 = ",a/b ) print ( "VERIABLE 1 * VERIABLE 2 = ",a*b ) print ( "VERIABLE 1 + VERIABLE 2 = ",a+b ) print ( "VERIABLE 1 - VERIABLE 2 = ",a-b )
Share your attempt and the community will help you rectify the errors.
https://code.sololearn.com/cJqKClN0bSxm/?ref=app Here you go☺
Ohh I got you Really thank you AVINESH SIR☺
ABHIRAJ SRIVASTAVA you're welcome and call me just Avinesh.