PY
py
1
2
3
4
5
6
7
8
9
10
11
answer = input()
formulas = input().split()
found = False
for i in formulas:
if eval(i) == int(answer):
print ("index" , formulas.index(i))
found = True
break
if not found:
print("none")
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run