title: How to assign different values to keys in a dictionary?
body: <p>In this piece of code I am trying to assign different random values to each of the dictionary keys of a given dictionary. Here is the piece of code I have written till now:</p>
  <pre><code>import random
  
  player={'a':'','b':'','c':''}
  arms=int(input(&quot;Enter number of arms : &quot;))
  unknown_arm=random.randint(1,arms)
  
  player['a']=unknown_arm
  player['b']=unknown_arm
  
  print(player)
  </code></pre>
  <p>The problem I am facing is that both the key pairs are assigned to a same value of the random integer generated. How to assign different random values to both of them.</p>