Python Evaluation

Sort by

recency

|

249 Discussions

|

  • + 0 comments

    it doesnt work

  • + 0 comments

    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

    eval(input())
    
  • + 0 comments
    expression = input()
    eval(expression)
    
  • + 0 comments

    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.

  • + 0 comments

    anybody knows where is this eval() function is used