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
|
249 Discussions
|
Please Login in order to post a comment
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
So...I tried a millio times but did not solve it but one guy @isha_agrawal1611 told that eval(input()) was the solution. I was rly happy when I got the solution, thanks bro.
anybody knows where is this eval() function is used