+ 3
Help me pls (python)
https://code.sololearn.com/cLTRoUHn6KO8/?ref=app Comment on this post the fixed code thx in advance!
3 Answers
+ 1
ķźµ ģė
Are you trying to make a calculator??
+ 1
I would suggest entering operatori second, or just take the whole input as a string and parse it for the information.
+ 1
# źø“ ź³ ģģ“ė„¼ ģø ķģ ģģ“, ģėķ“ė“ā¦
num1 = input()
calc = input()
num2 = input()
result = eval(num1+calc+num2)
print(result)
# ķź°ģ ģ£¼ģ źø°ė„ eval()