SHARE
TWEET

Teams_short

a guest Jun 15th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. teams = ["WOLVES", "OWLS", "PANTHERS", "BEARS", "DRAGONS"]
  2. teams_short = []
  3.  
  4. for i in teams:
  5.   short = i[:3]
  6.   teams_short.append(short)
  7. print(teams_short)
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