Level 1 : What is the output of the python code bin(12^4)?

Author: anusha | Tags: operator | 1859+ Python FAQs | Share
random | complex-number | data-structure | def | descriptors | counter | complex | creating-custom-modules | dictionary-comprehensions | datetime.date,-datetime.time,-datetime.datetime | default-arguments | bitwise | control-flow | data-structures-in-python | heap-memory | intering | numpy | matplotlib | invalid-list | call | raise-statement | managing-directories-with-os-and-shutil | multithreading | list-indexing | operator-or | raise | objects | error | literal-characters-and-special-characters | data_structure | map-function | list-comprehension | python_version | magic-method | anchors-(^,-$) | scientific-notation | classes | version | built-in | list-mutation | access-modifier | python-repl | benefit | operations | sys-module | parameter | immutability | multiple-inheritance | integer | set | string-method | software-design | assignment-operators | conditional-statements | staticmethod | collection | opening-files-(open()) | shallow-copy | introduction-to-multiprocessing | why-use-multiprocessing-over-threading?-(gil) | immutable-data-type | methods | tuple | type-conversion | higher-order-function | pseudocode | interpreter | python-operators | python-syntax-and-structure | asyncio-module | precedence | using-else-and-finally | advanced-file-operations | list-comprehension | application | defining-functions | working-with-temporary-files-using-tempfile | inheritance | postfix | function | iterator | multiprocessing | indexing | module | list-slicing | precedence-and-associativity | collections | reading:-read(),-readline(),-readlines() | operator-overloading | enumerate() | list,-set,-and-dictionary-comprehensions | reading-and-writing-files | join | global-variable | built-in-modules | booleans | print | generators | python-django | aggregating-data-with-functools.reduce() | touples | __all__-attribute | attribute | error-handling | variable | comment | virtual-environment | using-the-threading-module | recurssion | while-and-for-loop | binary-operation | string-slicing | counter-function | numeric | unit-testing | using-map()-for-transformations | arbitrary-arguments-(*args,-**kwargs) | decimal | tuple-unpacking | center | fabs-function | bitwise-operator | tuple-methods | introduction-to-python | sum() | matrix | object-attribute | head-and-tail | difference-between-threads-and-processes | dataframe-and-series-objects | boolean-and-non-boolean | string-concatenation | identifier | multiple-inheritance | iterators | string-formatting | random-function | data-structure | operator | for | list-comprehensions | conditional-statement | python-history | string-manipulation | multiple-except-blocks | feature | lambda | type-conversion-and-casting | round | global | pandas | built-in-function | mysql | syntax-error | lambda-functions | time-series-with-pandas | turtle | inherit | reading-and-writing-large-files-efficiently | string-method | introduction-to-threads | destructor | membership-operators-(in,-not-in) | operator-and | array | type-conversion | bitwise-operator | logical-operator | class-decorators | string | function-and-scope | indentation | list | syntaxerror | typeerror | import-method | async | string-iteration | iterable | pickling--unpickling | using-yield-in-functions | matrix-list-comprehension | loop-control | keyword | choice | max-min | memory | with-statement | conditional-statement | method-overloading | conversion | round-function | comparison | operand | encapsulation | dictionary | identity-operators-(is,-is-not) | global-variable | __future__ | yield | odd-number | math-copysign | identity-operator | library | input | int | match | working-with-file-paths | lambdas | pass | implementation | namedtuple | exponentiation | indexing:-loc-vs-iloc | tuples | mapping-function | rollback | file_handling | loops | oop | sorting | basic | key-value-pairs | handling-missing-values-(fillna,-dropna) | installation | nested-loop | min-function | python | exception | oops | overriding-methods | id-function | namespace | mathematical-function | else-statement | statement | format | init | encoding | min-max-function | threading | while-else-loop | factorial-function | using-lists-as-stacks | sys | logical-operation | thread-safe-data-structures-(queue.queue) | integers | input-function | math | input-function | range | formatting-with-strftime | default-mutable-argument | pep | zip | command-line-parsing | print-statement | list-operation | creating-and-starting-threads | list-join | boolean | lambda-function | method | identity-operator | datetime | file-handling | while-loops | regex | mathematics | joining-and-merging-dataframes | loop | single-inheritance | name-mangling | list-methods-and-slicing | overflow | frozenset | error-handling | list-method | regular-expressions | global-keyword | context-manager | else | string-formatting | set-operation | arithmetic-operation | data-type | compute | exception-handling | goto-function | mutable | using-assertions-(assertequal,-assertraises) | loop-control-statements | sorted | python-module | functional-programming | parsing-with-strptime | quantifiers-(*,-+,-?,-{}) | package-management | deep-copy | gil | generators-in-python | docstring | memory-management | directory-operations | generator | file-handling | split | class | logical-operators | file | append | test-discovery | syntax | list-vs-tuple | virtual-environment | using-os-and-pathlib-modules | zip-function | operators | version-check | string-slicing | swapping | slice | filter | copy | polymorphism | built-in-function | expression | lists | while-loop | recursion | static-method | regular-expression | functional-programming | binary | data-type | design-principle | dicts | working-with-dates-and-times | class-and-object | function-argument | working-with-binary-files-(rb,-wb) | update | arithmetic-expression | floats | asyncio | escape-operator | exception-handling | expand-tab | slicing | data-type-conversions | comprehension | debugging | dictionaries | walking-through-directories-using-os.walk() | boolean-masking | dictionary-methods | assignment-operator | functions | control-flow | thread-synchronization | floating-point-precision | filtering-and-indexing | return-statement | writing:-write(),-writelines() | filter-function | stack | sets | formal-and-actual-parameter | __init_subclass__ | datatype | zfill-function | strings | thread | control-statement | sorting-and-ranking | sum-function | using-join()-and-is_alive()-methods | decorator | type_conversion | assert | syntax-error | class-and-inheritance | string-methods | logical-operator | constructor | condition | data-structures | class-and-instance-variable | data-types ...