Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # create code that shortens a team name
- teams = ["WOLVES", "OWLS", "PANTHERS", "BEARS", "DRAGONS"]
- team_code = []
- for team in teams:
- team_code.append(team[:3] + team[-1])
- print(team_code)
- print(teams)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement