Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. teams = ["WOLVES", "OWLS", "PANTHERS", "BEARS", "DRAGONS"]
  2.  
  3. teams_short = []
  4.  
  5. for i in teams:
  6.     teams_short.append(i[:3])
  7.  
  8. print(teams)
  9. print(teams_short)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement