0
t=input("Enter your question : ") print("This is your answer : ",eval(t))
What is the error in this question?
3 Antworten
+ 5
Anushka Jangra ,
the code as it is given is working correctly if the input is correct.
by entering: 2 * 14 (then press enter key)
the input given will be evaluated and executed. so the result of the input expression is 28
0
Pls Save code and share link here...
Mention your sample input along with expected output.. Seems your code is Truncated..!!!
0
Thanks for answering.