Jun-05-2022, 01:42 AM
i’m working with jupyter in anaconda lab.
arithmetic operation doesn’t work after i assign value to parameters.
e.g.
when i input :
(12-10)/10
it works well and shows 0.2
when i input:
purchase_price = 10
sales_price = 12
profit = purchase_price - sales_price
it doesn’t work and can’t return the value.
could anyone help me to figure out the situation? many thanks!
arithmetic operation doesn’t work after i assign value to parameters.
e.g.
when i input :
`(12-10)/10
`it works well and shows 0.2
when i input:
`purchase_price = 10
sales_price = 12
profit = purchase_price - sales_price
`it doesn’t work and can’t return the value.
could anyone help me to figure out the situation? many thanks!