Level 6 : what is the Bitwise operator used to get 1 if one of the bits is 1?

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