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


a=2; 
print(a<<4)

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