Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kill_list = ["Justin Bieber", "Justin Timberlake", "Nicki Minaj", "Rihanna"]
- for x in kill_list: #Set x = all strings in the list and go through them all.
- print(x)
- print("------------------------") #To seperate the two loops.
- for y in kill_list[:2]: #Rihanna isn't worth my time anyways.
- print(y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement