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