title: Concatenating strings from dictionary tuples with different lengths
body: <p>I have a dictionary created with basketball player positions, with the key being the players name and the value being a tuple with their position(s). For example:
  {'Player1': ('SF', 'PF'),
  'Player2': 'C',
  'Player3': 'SG'}</p>
  <p>I'm trying to concatenate each players position(s) with another string, but when I try to select the second value it ends up slicing the first value instead.</p>
  <p>Is there a way to loop through the keys and each individual value for every player or do I need to make a nested loop for the conditions where the tuple has multiple values?</p>
  <pre><code>for k,v in player_position_dict.items():
      print(v[1])
  </code></pre>
  <p>creates an error because obviously certain positions won't have that index, so I'm wondering if there is there another loop I can use to test whether the value has multiple items? I've tried using len() but that either returns the string length if its a single position or the tuple length so that doesn't differentiate enough.</p>