Answer ( 1 )

  1. l=[7,5,6,5,4]
    for i in range(len(l)):
    if l[i]==5:
    print(i)
    break
    else:
    pass

Leave an answer

Browse
Browse