Mathematics | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Mathematics

n=int(input()) exp=input().split(" ") flag=-1 for i in range(len(exp)): if n==eval(exp[i]): flag=i break; if flag==-1: print("none") else: print("index "+str(i))

24th Jan 2023, 5:51 PM
Sai Teja
Sai Teja - avatar
1 Answer
+ 3
Your question?
24th Jan 2023, 6:34 PM
Jayakrishna 🇮🇳