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