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