title: Python- Invalid Syntax error
body: <p>I'm getting an invalid syntax error in the final variable. I don't see what the problem is, I think my indentation is correct, can tell me what I am doing wrong? I'm trying to make a simple python xor program.</p>
  
  <pre><code>msg='To use this decimal to binary converter tool, you should type a decimal value like 308 into the left field below, and then hit the Convert button. This way you can convert up to 19 decimal characters (max. value of 9223372036854775807) to binary value.'
  key='ab'
  
  encrypt=[]
  decrypt=[]
  count=0
  
  for i in msg:
      if count&gt;=len(key):
            count=0
  
      encrypt.append(ord(i)^ord(key[count]))
  
      count+=1
  
  count=0
  print(encrypt)
  
  for i in encrypt:
  
      if count&gt;=len(key):
            count=0
  
      count+=1      
      decrypt.append(i^ord(key[count])
  
  final=''.join(chr(e) for e in decrypt)
  print(final)                   
  </code></pre>