SHARE
TWEET

Untitled

a guest Dec 10th, 2018 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.     break # 碰到 "LeBron James" 就離開迴圈
  5.   else:
  6.     print(player)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top