python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
a=int(input("enter number")) b=int(input("enter number")) op=input("enter op") res=None if op=='+': res=a+b elif op=='-': res=a-b elif op =='*': res=a*b elif op=='/': res=a/b else: print("invalid choice") print(res)
Share this code with others
Public
Clear
My Repos
Repo
Lang
Login
Register
Login
Create a free account. No Credit card info required.
I agree with the Codepy
Term of Service
Sign Up