New issue
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
Aunpun1.00 #2063
Comments
@Aunpuncode Please can you provide more information in your issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: