Advertisement
zhongnaomi

team short name

Jan 30th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1.  
  2. team_short =[]
  3. team = ['Danny Ward', 'Josh Knight', 'Harry Maguire', 'Ben Chilwell', 'Ricardo Pereira', 'Harvey Barnes', 'James Maddison', 'Hamza Choudhury', 'Thakgalo Leshabela', 'Kelechi Iheanacho', 'Jamie Vardy']
  4.  
  5. for playName in team:
  6.      
  7.   team_short.append(playName[:3])
  8.  
  9. print (team_short)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement