Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. players = ['shoxie', 'lucky', 'almanek', 'kennys']
  2.  
  3. # Here we are defining the variable player and associating each list value to
  4. # our player variable and then printing each in a loop until finished
  5. for player in players:
  6. print(player)
  7.  
  8. # Expanding on what we can do with a for loop
  9. for player in players:
  10. print(f"You are such an amazing player {player.title()}")
  11. print(f"I really hope you make it far in the major {player.title()}.\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement