timpin

Untitled

Aug 29th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. teams = ['WOLVES','OWLS','PANTHERS','BEARS','DRAGONS']
  2. teams_short = []
  3.  
  4. for team in teams:
  5. team_short = (team[:3])
  6. teams_short.append(team_short)
  7.  
  8. print(teams_short)
Advertisement
Add Comment
Please, Sign In to add comment