We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Built-Ins
- Python Evaluation
- Discussions
Python Evaluation
Python Evaluation
Sort by
recency
|
251 Discussions
|
Please Login in order to post a comment
var=input("") result=eval(var)
i can't solve this problem all of the things you tried didn't work
it doesnt work
For Python3 Platform
This line only works when there is "print" word in the given string. Or else, we have to write it separetely to print the output