replace bitwise xor with !=
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
" break\n",
|
||||
"\n",
|
||||
" for n in range(1, m):\n",
|
||||
" if not ((m % 2) ^^ (n % 2)) or gcd(m, n) != 1:\n",
|
||||
" if not ((m % 2) != (n % 2)) or gcd(m, n) != 1:\n",
|
||||
" continue\n",
|
||||
" \n",
|
||||
" a = m^2 - n^2\n",
|
||||
|
||||
Reference in New Issue
Block a user