Level 9 : What will be the output of the following Python expression?


int(1011)?

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