rD=int(input()) sD=list(map(int,input().split())) r=rD-30 dup= | OFF CAMPUS UPDATES
rD=int(input()) sD=list(map(int,input().split())) r=rD-30 dup=[] for i in range(len(sD)): for j in range(len(sD)): if(i!=j and sD[i]+sD[j]==r and len(dup)==0): dup.append(i) dup.append(j) break if len(dup)==0: dup.append(-1) dup.append(-1) print(dup)
🌀 ” Our Only Aim Is To Let Get Placed To You In A Reputed Company. “. 🔥 Free materials of all companies. 🔥 Off campus updates. 🔥 Interview experiences...