Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lst=["person1","person2","workers","person3","person4","pilot","person5","person6","person7"]
- for i in lst:
- if(i=="pilot" or i=="workers"):
- print(" no check")
- continue
- elif(i=="person6"):
- print(" security check")
- break
- print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement