python calculate() code example
Example 1: Calculator in python
num1 = input("Enter a Number : ")
num2 = input("Enter a Number : ")
result = (num1 * num2)
print(result)
# And then print out the result
Example 2: calculator in python
def mutiply (x):
return _*x
o = mutiply(_)
print(o)