0
Operator conversion in python
In one of my codes, I have value of variable n as: n='1+53' How can I get result of 54 as output?
1 Réponse
+ 1
n='1+53'
print(eval(n))
In one of my codes, I have value of variable n as: n='1+53' How can I get result of 54 as output?