Advertisement
Guest User

Teams_short

a guest
Jun 15th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement