Level 10 : What is the output of the following code?


a=2; 
print(a<<4)

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