title: Trying to find what is wrong with my code
body: <p>Here I am trying to devolope a game.</p>
  <p><em><strong>Anyone please explain why boolean value of the variable <code>win</code> is not updating if <code>Board</code> value changes</strong></em></p>
  <p>Here is the code..</p>
  <pre class="lang-py prettyprint-override"><code>Board = {'1':'1','2':'6','3':'7',
           '4':'2','5':'5','6':'8',
           '7':'3','8':'4','9':'9'}
  
  Win = Board['1'] == Board['2']== Board['3']=='X' or Board['4'] == Board['5'] == Board['6'] or Board['7'] == Board['8'] == Board['9'] or Board['1'] == Board['5'] == Board['9'] or Board['3'] == Board['5'] == Board['7'] or Board['1'] == Board['4'] == Board['7'] or Board['2'] == Board['5'] == Board['8'] or Board['3'] == Board['6'] == Board['9'] 
  turn = 'X'
  print(Win)
  
  for i in range(9):
      a = str(input('Enter choice {}: '.format(turn)))
      Board[a] = turn
      turn = 'Y' if turn == 'X' else 'X' 
      if Win:   #Here I am expecting Win to be True but it is actually False
          print('Win')
  </code></pre>
  <p>Please help me out with this.</p>