how to make a calcultor using funtion in python code example
Example 1: calculator in python
def mutiply (x):
return 5*x
o = mutiply(10)
print(o)
Example 2: calculator in python
def mutiply (x):
return _*x
o = mutiply(_)
print(o)
def mutiply (x):
return 5*x
o = mutiply(10)
print(o)
def mutiply (x):
return _*x
o = mutiply(_)
print(o)