Level 9 : What is the output of the following python programs?


print(0b101)
print(0o10)
print(0x1F)

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