Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- teams = ["WOLVES", "OWLS", "PANTHERS", "BEARS", "DRAGONS"]
- team_short=[]
- def teams_short(teams):
- for i in teams:
- teams=i[0:3]
- team_short.append(teams)
- teams_short(teams)
- print(teams)
- print(team_short)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement