We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
n1=float(input("Enter the first number:")) n2=float(input("Enter the first number:")) print("1.Addition"," ","2.Subtraction"," ","3.Multiplication"," ","4.Division") ch=int(input("Enter your choice:")) if ch==1: res=n1+n2 print("{}+{}={}".format(n1,n2,res)) elif ch==2: res=n1-n2 print("{}-{}={}".format(n1,n2,res)) elif ch==3: res=n1n2 print("{}{}={}".format(n1,n2,res)) elif ch==4: res=n1/n2 print("{}/{}={}".format(n1,n2,res)) else: print("Invalid Choice")
The text was updated successfully, but these errors were encountered:
@Aunpuncode Please can you provide more information in your issue.
Sorry, something went wrong.
No branches or pull requests
n1=float(input("Enter the first number:"))
n2=float(input("Enter the first number:"))
print("1.Addition","
","2.Subtraction","
","3.Multiplication","
","4.Division")
ch=int(input("Enter your choice:"))
if ch==1:
res=n1+n2
print("{}+{}={}".format(n1,n2,res))
elif ch==2:
res=n1-n2
print("{}-{}={}".format(n1,n2,res))
elif ch==3:
res=n1n2
print("{}{}={}".format(n1,n2,res))
elif ch==4:
res=n1/n2
print("{}/{}={}".format(n1,n2,res))
else:
print("Invalid Choice")
The text was updated successfully, but these errors were encountered: