Skip to content
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

Aunpun​1.00​ #2063

Open
Aunpuncode opened this issue Apr 14, 2024 · 1 comment
Open

Aunpun​1.00​ #2063

Aunpuncode opened this issue Apr 14, 2024 · 1 comment

Comments

@Aunpuncode
Copy link

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")

@andreyvelich
Copy link
Member

@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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants