Mathematics | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 3
Your question?
24th Jan 2023, 6:34 PM
Jayakrishna 🇮🇳