Advertisement
scarygarey

football_lists

Jan 12th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. teams = ["Aston Villa", "Birmingham City", "Wolverhampton Wanderers", "West Bromich Albion", "Stoke"]
  2. teams_short=[]
  3.  
  4. for item in teams:
  5. teams_short.append(item[:3])
  6.  
  7.  
  8. print(teams)
  9. print(" ")
  10. print(teams_short)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement