Re: Getting value of a variable without changing the expression in Python

2020-05-21 Thread Peter Otten
ansari.aafaq1...@gmail.com wrote: > Lets say i have a expression: > flowrate=(veloctiy*area) > i can find the flowrate with this expression > but if i dont wanna change the expression and want to find the velocity by > giving it value of area and flowrate ,how do i do this in python? is there > an

Re: Getting value of a variable without changing the expression in Python

2020-05-21 Thread Richard Damon
On 5/21/20 5:56 AM, ansari.aafaq1...@gmail.com wrote: > Lets say i have a expression: > flowrate=(veloctiy*area) > i can find the flowrate with this expression > but if i dont wanna change the expression and want to find the velocity by > giving it value of area and flowrate ,how do i do this in p

Getting value of a variable without changing the expression in Python

2020-05-21 Thread ansari . aafaq1994
Lets say i have a expression: flowrate=(veloctiy*area) i can find the flowrate with this expression but if i dont wanna change the expression and want to find the velocity by giving it value of area and flowrate ,how do i do this in python? is there any library or package or module for this? -- h