Advertisement
rickzman

Untitled

Dec 11th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. # teams slice
  2. teams = ["WOLVES", "OWLS", "PANTHERS", "BEARS", "DRAGONS"]
  3.  
  4. i = 0
  5.  
  6. while i in range(5):
  7.  
  8. teams_short = teams[i]
  9. teams_short = teams_short[:3]
  10. print(teams_short)
  11. i += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement