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