Level 10 : What does the ^ operator do in Python when used between two integers?

Author: bhavani | Tags: operator | 1736+ Python FAQs | Share
generators-in-python | asyncio-module | expression | stack | else-statement | global-variable | binary | module | global-variable | compute | identity-operator | type-conversion | logical-operation | comment | installation | touples | string-method | pickling-&-unpickling | context-manager | print | precedence | list-method | error | default-mutable-argument | virtual-environment | namespace | object-attribute | python-repl | keyword | parameter | regular-expression | tuple-unpacking | integer | variable | sum() | lists | head-and-tail | multithreading | filter-function | control-statement | exception | type-conversion | syntax | arithmetic-operation | frozenset | list-slicing | input | dictionary | command-line-parsing | attribute | global-keyword | precedence-and-associativity | string-method | arithmetic-expression | memory | recurssion | return-statement | int | factorial-function | id-function | operator-overloading | pep | data-structure | type_conversion | built-in | lambdas | min-function | bitwise-operator | raise | math | list-comprehension | datetime | multiple-inheritance | method | turtle | string-formatting | sys | exception-handling | format | numeric | asyncio | built-in-function | built-in-function | scientific-notation | random-function | update | loop | logical-operator | iterable | zfill-function | software-design | identifier | pseudocode | string-iteration | application | slice | higher-order-function | docstring | with-statement | input-function | nested-loop | loops | descriptors | pandas | shallow-copy | random | init | decimal | call | file_handling | escape-operator | inheritance | immutability | expand-tab | objects | library | collection | syntax-error | list | data_structure | operators | import-method | overflow | operations | assert | split | data-structure | syntax-error | operator-and | copy | filter | set | constructor | multiprocessing | encoding | list-comprehension | mysql | set-operation | invalid-list | lambda | global | data-structures | assignment-operator | choice | functions | static-method | debugging | goto-function | file-handling | round | class-and-object | regex | counter-function | control-flow | classes | threading | memory-management | join | python-django | heap-memory | min-max-function | python | version | data-type | match | formal-and-actual-parameter | string | oops | immutable-data-type | oop | zip-function | polymorphism | bitwise | odd-number | class | while-and-for-loop | version-check | string-concatenation | class-and-instance-variable | operator | dictionaries | identity-operator | function-argument | sorting | data-type | collections | staticmethod | sum-function | append | string-slicing | matrix | matrix-list-comprehension | statement | namedtuple | python-history | virtual-environment | list-join | decorator | generators | operator-or | __all__-attribute | while-loop | list-indexing | package-management | benefit | access-modifier | indexing | design-principle | comparison | map-function | thread | numpy | round-function | methods | rollback | datatype | python-module | input-function | functional-programming | zip | control-flow | enumerate() | print-statement | bitwise-operator | binary-operation | comprehension | function | range | boolean | __future__ | exception-handling | mathematics | file | list-operation | syntaxerror | condition | string-manipulation | error-handling | basic | postfix | loop-control | iterator | complex-number | def | feature | list-mutation | destructor | conditional-statement | gil | counter | slicing | fabs-function | center | exponentiation | conditional-statement | logical-operator | __init_subclass__ | mutable | yield | sys-module | operand | generator | python_version | floating-point-precision | implementation | deep-copy | function-and-scope | swapping | list-vs-tuple | indentation | inherit | file-handling | recursion | interpreter | max-min | tuple | string-slicing | mathematical-function | class-and-inheritance | name-mangling | math-copysign | boolean-and-non-boolean | while-else-loop | mapping-function | for | encapsulation | async | sorted | typeerror | matplotlib | complex | magic-method | array | string-formatting | conversion | lambda-function | dicts ...