a guest Jun 24th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. players = ['shoxie', 'lucky', 'almanek', 'kennys']
  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)
  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")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand