Guest User

Untitled

a guest
Dec 10th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. fav_nba_players = ["Steve Nash", "Michael Jordan", "LeBron James", "Dirk Nowitzski", "Hakeem Olajuwon"]
  2. for player in fav_nba_players:
  3. if player == "LeBron James":
  4. continue # 碰到 "LeBron James" 就略過
  5. else:
  6. print(player)
Add Comment
Please, Sign In to add comment