Level 6 : What will be the output of the following Python expression if x=15 and y=12? x & y

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