Advertisement
Guest User

Untitled

a guest
Dec 15th, 2019
124
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. teams_shortend=[]
  3.  
  4. for each in teams:
  5.  
  6.     teams_shortend.append(each[:3])
  7.  
  8. print(teams_shortend)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement